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

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-02)
- Published: 2026-03-26T16:45:41.000Z
- Modified: 2026-06-17T10:37:59.980Z
- Also known as: GHSA-579q-h82j-r5v2
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- DataDog dd-trace-java: >= 0.40.0, < 1.60.3; from 0.40.0 before 1.60.3
- com.datadoghq:dd-java-agent (Maven): from 0.40.0 before 1.60.3

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `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`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/DataDog/dd-trace-java/security/advisories/GHSA-579q-h82j-r5v2> (mitigation, vendor-advisory, web)
- <https://github.com/DataDog/dd-trace-java/releases/tag/v1.60.3> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33728> (advisory)
- <https://github.com/DataDog/dd-trace-java> (package)

## Sources

- CVE List: [CVE-2026-33728](https://www.cve.org/CVERecord?id=CVE-2026-33728), CVE Terms of Use, modified 2026-03-27
- GitHub Advisory Database: [GHSA-579q-h82j-r5v2](https://github.com/advisories/GHSA-579q-h82j-r5v2), CC-BY-4.0, modified 2026-06-09
- NVD: [CVE-2026-33728](https://nvd.nist.gov/vuln/detail/CVE-2026-33728), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33728 · Whole record: https://cve.day/CVE-2026-33728.json · Rebuilt by cve.day 2026-11-25T22:59:17.356Z
