Skip to main content

CVE-2026-33728 — dd-trace-java: Unsafe deserialization in...

CRITICAL

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

Published March 26, 2026Updated June 9, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (1.27%). Schedule for your next planned update.

Does your project use an affected com.datadoghq:dd-java-agent version?

Paste your pom.xml to check it for CVE-2026-33728 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

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

Credits

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

Advisory Timeline

  • First published March 26, 2026 (245 days ago).
  • Last revised June 9, 2026 — 75 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update com.datadoghq:dd-java-agent to 1.60.3 or later
<!-- Update pom.xml dependency version to 1.60.3 for com.datadoghq:dd-java-agent -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: Maven (1).

PackageFixed In
com.datadoghq:dd-java-agent Maven · Affected: 0.100.0, 0.101.0, 0.102.0, 0.103.0 (+210 more)1.60.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-33728?
dd-trace-java: Unsafe deserialization in RMI instrumentation may lead to remote code execution. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2026-33728?
CVE-2026-33728 affects com.datadoghq:dd-java-agent. It has a 1.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-33728 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
1.27%
EPSS percentile: 69.8

This is an above-median EPSS score — 69.8% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-579q-h82j-r5v2

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml