Skip to main content

Java CVE-2026-33728

CRITICAL
Deserialization of Untrusted Data (CWE-502)
2026-03-26 https://github.com/DataDog/dd-trace-java GHSA-579q-h82j-r5v2
9.3
CVSS 4.0 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect to exposed JMX/RMI port
  2. Delivery
    Send malicious serialized Java object
  3. Exploit
    RMI endpoint deserializes without filters
  4. Execution
    Gadget chain executes arbitrary code
  5. Impact
    Remote code execution as JVM process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires dd-trace-java versions prior to 1.60.3 attached as Java agent (-javaagent) on Java 16 or earlier with JMX/RMI port explicitly configured via -Dcom.sun.management.jmxremote.port. Remote unauthenticated attacker with network access to JMX/RMI port can exploit deserialization vulnerability for RCE.

Impact

Real-world risk is constrained by three mandatory preconditions: the agent must run on JDK 16 or earlier (increasingly uncommon in production), JMX/RMI ports must be explicitly configured and network-reachable (typically disabled or firewalled in secure deployments), and exploitable gadget-chain libraries must exist on the classpath. CVSS scoring is not provided in the available data, limiting quantitative risk assessment. No EPSS score, KEV listing, or public exploit code has been identified, suggesting limited active exploitation risk. The vulnerability's discoverer reported through a bug bounty program rather than opportunistic discovery, indicating responsible disclosure without prior exploitation evidence. Organizations running modern JDK versions (17+) are inherently protected by platform-level serialization safeguards. For environments meeting all three conditions, the technical impact is critical (full RCE with JVM process privileges), but the attack surface is narrow and requires specific configuration choices that security-conscious deployments typically avoid.

Exploit ScenarioDerived

An attacker with network access to an exposed JMX port (typically TCP 9010 or similar) on a server running dd-trace-java prior to 1.60.3 on JDK 16 crafts a malicious serialized Java object containing a gadget chain leveraging libraries like Apache Commons Collections present in the application classpath. When the attacker sends this payload to the vulnerable RMI endpoint registered by the dd-trace-java agent, the unsafe deserialization process executes the gadget chain, allowing the attacker to run arbitrary commands with the privileges of the JVM process, potentially achieving full system compromise depending on the service account permissions.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 26, 2026

Remote code execution is possible in DataDog's dd-trace-java agent versions prior to 1.60.3 when running on JDK 16 or earlier with exposed JMX/RMI ports. The vulnerability stems from unsafe deserialization in the RMI instrumentation's custom endpoint, allowing network-accessible attackers to execute arbitrary code if gadget-chain libraries exist on the classpath. Vendor-released patch: version 1.60.3. No public exploit identified at time of analysis, though the issue was responsibly disclosed through DataDog's bug bounty program by Mohamed Amine ait Ouchebou.

RemediationAI

Upgrade dd-trace-java to version 1.60.3 or later, as documented in the vendor advisory at https://github.com/DataDog/dd-trace-java/security/advisories/GHSA-579q-h82j-r5v2 and release announcement at https://github.com/DataDog/dd-trace-java/releases/tag/v1.60.3. Organizations running JDK 17 or later are protected by platform-level deserialization controls but should still upgrade to eliminate the vulnerable code path. For environments unable to immediately upgrade, set the environment variable DD_INTEGRATION_RMI_ENABLED=false to disable the vulnerable RMI integration. Additionally, restrict network access to JMX/RMI ports using firewall rules limiting connections to trusted management networks only, and review the classpath to remove unnecessary libraries that may contain deserialization gadget chains. Organizations on JDK versions prior to 8u121 should prioritize JDK upgrades alongside the dd-trace-java update.

Affected Packages

maven com.datadoghq:dd-java-agent fix: 1.60.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in maven

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected product is com.datadoghq:dd-java-agent (CPE: pkg:maven/com.datadoghq:dd-java-agent), a distributed tracing library that instruments Java applications. The vulnerability (CWE-502: Deserialization of Untrusted Data) arises from the RMI instrumentation component registering a custom endpoint that deserializes incoming network data without applying serialization filters. Java's RMI (Remote Method Invocation) and JMX (Java Management Extensions) mechanisms allow remote method calls and management operations. When JMX remote monitoring is enabled via -Dcom.sun.management.jmxremote.port, the agent creates a network-accessible endpoint. Prior to JDK 8u121, Java lacked serialization filters; JDK 17+ enforces stricter deserialization protections by default. Exploitation requires gadget chains (sequences of existing classes that can be chained during deserialization to achieve code execution), commonly found in libraries like Apache Commons Collections or Spring Framework.

Know when Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 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

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 26, 2026 - 16:45 nvd
CRITICAL 9.3

DescriptionGitHub Advisory

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.

Executive ViewAI

Why It Matters

DataDog's dd-trace-java agent versions before 1.60.3 contain a critical remote code execution vulnerability affecting organizations running Java applications on JDK 16 or earlier with exposed JMX/RMI ports. Attackers can execute arbitrary code on vulnerable systems without authentication if supporting gadget-chain libraries are present, potentially compromising application infrastructure and data.

Business Impact: Severe
Compensating Controls

Until patching is complete: (1) Disable or restrict network access to JMX/RMI ports (9010, 9011, and similar) using firewall rules and network segmentation-limit access to trusted administrative networks only; (2) Audit and remove unnecessary gadget-chain libraries (e.g., commons-collections, spring-core) from application classpaths where safe to do so; (3) Monitor RMI traffic for suspicious deserialization attempts using SIEM/IDS rules; (4) Apply Java security manager policies to restrict RMI endpoint capabilities if operationally feasible. These controls reduce but do not eliminate risk-patching to version 1.60.3 is mandatory.

Threat Intelligence Overview

EPSS Score
0.6%
Top 31% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)GitHub Advisory

pkg:maven/com.datadoghq:dd-java-agent

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy