# CVE-2026-33728: dd-trace-java: Unsafe deserialization in RMI instrumentation may lead to remote code execution

> CVE-2026-33728: dd-trace-java: Unsafe deserialization in RMI instrumentation may lead to remote code execution. CVSS 9.8 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-33728
Last updated: 2026-06-17T10:37:59Z

- Published: 2026-03-27 00:25 UTC · Updated: 2026-06-17 10:37 UTC · Assigner: GitHub\_M
- CVSS: 9.8 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.71%, 53th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-502

## Description

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\`.

## Affected vendors and products

- DataDog: dd-trace-java

## Tracked companies

- [Datadog](https://rewindex.com/company/datadog.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-33728)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-33728)
- [https://github.com/DataDog/dd-trace-java/releases/tag/v1.60.3](https://github.com/DataDog/dd-trace-java/releases/tag/v1.60.3)
- [https://github.com/DataDog/dd-trace-java/security/advisories/GHSA-579q-h82j-r5v2](https://github.com/DataDog/dd-trace-java/security/advisories/GHSA-579q-h82j-r5v2)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-33728 · Markdown: https://rewindex.com/cve/CVE-2026-33728.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-33728 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:13:16.609Z
