{"id":"GHSA-579q-h82j-r5v2","summary":"dd-trace-java: Unsafe deserialization in RMI instrumentation may lead to remote code execution","details":"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:\n1. dd-trace-java is attached as a Java agent (`-javaagent`) on Java 16 or earlier\n2. A JMX/RMI port has been explicitly configured via `-Dcom.sun.management.jmxremote.port` and is network-reachable\n3. A gadget-chain-compatible library is present on the classpath\n\n### Impact\nArbitrary remote code execution with the privileges of the user running the instrumented JVM.\n\n### Recommendation\n- For JDK \u003e= 17: No action is required, but upgrading is strongly encouraged.\n- For JDK \u003e= 8u121 \u003c JDK 17: Upgrade to dd-trace-java version 1.60.3 or later.\n- For JDK \u003c 8u121 and earlier where serialization filters are not available, apply the workaround described below.\n\n### Workarounds\nSet the following environment variable to disable the RMI integration: `DD_INTEGRATION_RMI_ENABLED=false`\n\n### Credits\nThis vulnerability was responsibly disclosed by Mohamed Amine ait Ouchebou (mrecho) (Indiesecurity) via the Datadog bug bounty program.","aliases":["CVE-2026-33728"],"modified":"2026-06-09T12:00:12.397006306Z","published":"2026-03-26T16:45:41Z","database_specific":{"nvd_published_at":"2026-03-27T01:16:20Z","cwe_ids":["CWE-502"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2026-03-26T16:45:41Z"},"references":[{"type":"WEB","url":"https://github.com/DataDog/dd-trace-java/security/advisories/GHSA-579q-h82j-r5v2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33728"},{"type":"PACKAGE","url":"https://github.com/DataDog/dd-trace-java"},{"type":"WEB","url":"https://github.com/DataDog/dd-trace-java/releases/tag/v1.60.3"}],"affected":[{"package":{"name":"com.datadoghq:dd-java-agent","ecosystem":"Maven","purl":"pkg:maven/com.datadoghq/dd-java-agent"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.40.0"},{"fixed":"1.60.3"}]}],"versions":["0.100.0","0.101.0","0.102.0","0.103.0","0.104.0","0.105.0","0.106.0","0.107.0","0.107.1","0.108.0","0.108.1","0.108.2","0.109.0","0.109.1","0.110.0","0.111.0","0.112.0","0.113.0","0.114.0","0.115.0","0.115.1","0.40.0","0.41.0","0.42.0","0.43.0","0.44.0","0.45.0","0.46.0","0.47.0","0.48.0","0.49.0","0.50.0","0.51.0","0.52.0","0.53.0","0.54.0","0.55.0","0.55.1","0.56.0","0.57.0","0.58.0","0.59.0","0.60.0","0.60.1","0.61.0","0.62.0","0.63.0","0.64.0","0.65.0","0.66.0","0.67.0","0.68.0","0.69.0","0.70.0","0.71.0","0.72.0","0.73.0","0.74.0","0.74.1","0.75.0","0.76.0","0.76.1","0.77.0","0.78.0","0.78.1","0.78.2","0.78.3","0.79.0","0.80.0","0.81.0","0.81.1","0.82.0","0.83.0","0.83.1","0.83.2","0.84.0","0.85.0","0.86.0","0.87.0","0.88.0","0.89.0","0.90.0","0.91.0","0.92.0","0.93.0","0.94.0","0.94.1","0.95.0","0.95.1","0.96.0","0.97.0","0.98.0","0.98.1","0.99.0","1.0.0","1.0.1","1.1.0","1.1.1","1.1.3","1.1.4","1.10.0","1.10.1","1.11.0","1.11.1","1.11.2","1.12.0","1.12.1","1.13.0","1.14.0","1.15.0","1.15.1","1.15.3","1.16.0","1.16.1","1.16.2","1.16.3","1.17.0","1.18.0","1.18.1","1.18.2","1.18.3","1.19.0","1.19.1","1.19.2","1.19.3","1.2.0","1.20.0","1.20.1","1.21.0","1.22.0","1.23.0","1.24.0","1.24.1","1.24.2","1.25.1","1.26.0","1.26.1","1.27.0","1.28.0","1.28.0-RC2","1.28.0-RC3","1.29.0","1.3.0","1.30.0","1.30.1","1.31.0","1.31.1","1.31.2","1.32.0","1.33.0","1.34.0","1.35.0","1.35.2","1.36.0","1.37.0","1.37.1","1.38.0","1.38.1","1.39.0","1.39.1","1.4.0","1.40.0","1.40.1","1.40.2","1.41.0","1.41.1","1.41.2","1.42.0","1.42.1","1.42.2","1.43.0","1.44.0","1.44.1","1.45.0","1.45.1","1.45.2","1.46.0","1.46.1","1.47.0","1.47.1","1.47.2","1.47.3","1.48.0","1.48.1","1.48.2","1.49.0","1.5.0","1.50.0","1.50.1","1.51.0","1.51.1","1.51.2","1.52.0","1.52.1","1.53.0","1.54.0","1.55.0","1.56.0","1.56.1","1.56.2","1.56.3","1.57.0","1.58.0","1.58.1","1.58.2","1.59.0","1.6.0","1.60.0","1.60.1","1.60.2","1.7.0","1.8.0","1.8.3","1.9.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-579q-h82j-r5v2/GHSA-579q-h82j-r5v2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"}]}