Categories
CVE-2026-33728 critical CVSS 9.8

Unsafe Deserialization in com.datadoghq:dd-java-agent (CVE-2026-33728)

Summary

Vulnerability in com.datadoghq:dd-java-agent (CVE-2026-33728). Successful exploitation can lead to full system takeover. Mitigation: upgrade to 1.60.3 or later.

Original description

The description as published by the source.

In versions of dd-trace-java prior to 1.60.3, the RMI instrumentation registered a custom endpoint that deserialized incoming data without applying serialization filters. On JDK version 16 and earlier, an attacker with network access to a JMX or RMI port on an instrumented JVM could exploit this to potentially achieve remote code execution. All three of the following conditions must be true to exploit this vulnerability:

  1. dd-trace-java is attached as a Java agent (-javaagent) on Java 16 or earlier
  2. A JMX/RMI port has been explicitly configured via -Dcom.sun.management.jmxremote.port and is network-reachable
  3. A gadget-chain-compatible library is present on the classpath

Impact

Arbitrary remote code execution with the privileges of the user running the instrumented JVM.

Recommendation

  • For JDK >= 17: No action is required, but upgrading is strongly encouraged.
  • For JDK >= 8u121 < JDK 17: Upgrade to dd-trace-java version 1.60.3 or later.
  • For JDK < 8u121 and earlier where serialization filters are not available, apply the workaround described below.

Workarounds

Set the following environment variable to disable the RMI integration: DD_INTEGRATION_RMI_ENABLED=false

Credits

This vulnerability was responsibly disclosed by Mohamed Amine ait Ouchebou (mrecho) (Indiesecurity) via the Datadog bug bounty program.

Source: NIST National Vulnerability Database NVD GitHub Advisory

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2026-33728 has been found in com.datadoghq:dd-java-agent.
Successful exploitation can lead to full system takeover. CVSS score: 9.8/10.
What to do: upgrade com.datadoghq:dd-java-agent to 1.60.3 or later.
If unsure, ask your IT team or search "com.datadoghq:dd-java-agent CVE-2026-33728" on the vendor's site.

CVE-2026-33728 (com.datadoghq:dd-java-agent) — CWE-502 / CVSS v3 9.8
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 1.60.3 — apply immediately
Workaround: Set the following environment variable to disable the RMI integration: DD_INTEGRATION_RMI_ENABLED=false
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

❓ What is the problem

Unsafe deserialization (CWE-502) exists in com.datadoghq:dd-java-agent.

📍 Affected scope

Check the vendor advisory for the affected versions of com.datadoghq:dd-java-agent.

🔥 Severity

Severity: Critical (CVSS 9.8/10). Successful exploitation can lead to full system takeover.

🔧 How to fix

Update to 1.60.3.

🛡️ Workaround

Workaround: Set the following environment variable to disable the RMI integration: DD_INTEGRATION_RMI_ENABLED=false

🔍 Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposure identify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで com.datadoghq:dd-java-agent を使っているサービスとバージョンを洗い出す。

  2. 2
    Apply temporary workaround mitigate
    Set the following environment variable to disable the RMI integration: `DD_INTEGRATION_RMI_ENABLED=false`

    パッチが適用されるまでの応急処置として、Set the following environment variable to disable the RMI integration: DD_INTEGRATION_RMI_ENABLED=false を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    Apply patch patch
    Upgrade com.datadoghq:dd-java-agent to 1.60.3

    ステージング環境で 1.60.3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

maven com.datadoghq:dd-java-agent
[{"type":"ECOSYSTEM","events":[{"introduced":"0.40.0"},{"fixed":"1.60.3"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details