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

Published Mar 26, 2026
·
Updated

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: DDINTEGRATIONRMIENABLED=false.

Other sources

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: DDINTEGRATIONRMIENABLED=false

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

GitHub

Affected Software

2 affected componentsFixes available
maven/com.datadoghq:dd-java-agent>=0.40.0<1.60.3
1.60.3
Datadog dd-trace-java>=0.40.0<1.60.3

Event History

Mar 26, 2026
Advisory Published
via GitHub·04:45 PM
Data Sourced
via GitHub·04:45 PM
DescriptionWeaknessAffected Software
Mar 27, 2026
CVE Published
via MITRE·12:25 AM
Data Sourced
via MITRE·12:25 AM
DescriptionWeakness
Data Sourced
via NVD·01:16 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 AM
Affected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-33728?

CVE-2026-33728 has a high-severity rating due to the potential for remote code execution through unsafe deserialization in RMI instrumentation.

2

How do I fix CVE-2026-33728?

To fix CVE-2026-33728, upgrade the dd-trace-java library to version 1.60.3 or higher.

3

What software is affected by CVE-2026-33728?

CVE-2026-33728 affects dd-trace-java versions from 0.40.0 up to, but not including, 1.60.2.

4

What kind of vulnerability is CVE-2026-33728?

CVE-2026-33728 is an unsafe deserialization vulnerability that can lead to remote code execution.

5

Is there a known exploit for CVE-2026-33728?

While there have been reports of this vulnerability, there are currently no widely publicized exploits specifically targeting CVE-2026-33728.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203