{"id":"CVE-2026-33728","published":"2026-03-27T00:25:56Z","modified":"2026-03-27T19:57:29Z","title":"dd-trace-java: Unsafe deserialization in RMI instrumentation may lead to remote code execution","vendor":"DataDog","product":"dd-trace-java","tier":"tail","description":{"text":"dd-trace-java is a Datadog APM client for Java. In versions of dd-trace-java 0.40.0 through prior to 1.60.2, 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: First, dd-trace-java is attached as a Java agent (`-javaagent`) on Java 16 or earlier. Second, a JMX/RMI port has been explicitly configured via `-Dcom.sun.management.jmxremote.port` and is network-reachable, Third, a gadget-chain-compatible library is present on the classpath. 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. The workaround is to set the following environment variable to disable the RMI integration: `DD_INTEGRATION_RMI_ENABLED=false`.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00798,"percentile":0.57447,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/DataDog/dd-trace-java/security/advisories/GHSA-579q-h82j-r5v2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/DataDog/dd-trace-java/releases/tag/v1.60.3","tags":["x_refsource_MISC"]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":11.49},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"datadog","affectedVersions":[{"vendor":"DataDog","product":"dd-trace-java","versions":[">= 0.40.0, < 1.60.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-03-27T19:57:15.250662Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.datadoghq:dd-java-agent","vulnerableRanges":[">=0.40.0, <1.60.3"],"patched":["1.60.3"],"from":["GHSA-579q-h82j-r5v2"],"provenance":"source"}],"summary":{"text":"The flaw is unsafe deserialization of untrusted data in the RMI instrumentation of dd-trace-java, Datadog's APM client for Java, which registers a custom endpoint that deserializes incoming data without serialization filters. An attacker who can reach a network-exposed JMX or RMI port on a JVM running dd-trace-java as a -javaagent on Java 16 or earlier could potentially achieve remote code execution, provided the port has been explicitly configured and a gadget-chain-compatible library is on the classpath, and no user interaction or authentication is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:57Z"},"euvd":{"id":"EUVD-2026-16505","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-33728","published":"2026-03-27","fixed":"1.60.3","kev":false},{"cve":"CVE-2026-50270","published":"2026-09-14","fixed":"1.62.0","kev":false,"link":{"from":"CVE-2026-33728","to":"CVE-2026-50270","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.datadoghq:dd-java-agent","fromFixed":"1.60.3","toFixed":"1.62.0","daysApart":171}]}}],"package":"Maven:com.datadoghq:dd-java-agent"}}