CVE-2026-50270
dd-trace-java: Improper parsing of W3C baggage headers may lead to DoS
Also known as GHSA-74xj-wh4w-vqxc
Mitigation
- Upgrade com.datadoghq:dd-java-agent to 1.62.0 or later.
Who should check
- Projects that depend on Maven package com.datadoghq:dd-java-agent (< 1.62.0)
- Anyone running DataDog dd-trace-java < 1.62.0
- Anyone running com.datadoghq dd-java-agent < 1.62.0
Vulnerability facts
- Affected
- com.datadoghq:dd-java-agent < 1.62.0
- Fixed in
- 1.62.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.79% chance of exploitation in 30 days (percentile 53, 2026-11-26)
- CWE
- CWE-770
- Modified
Description
dd-trace-java is a Datadog APM client for Java. Prior to 1.62.0, W3C baggage extraction does not enforce DD_TRACE_BAGGAGE_MAX_ITEMS, which defaults to 64, or DD_TRACE_BAGGAGE_MAX_BYTES, which defaults to 8192, although those limits apply during baggage injection. A remote unauthenticated attacker can send a baggage HTTP header containing many comma-separated key-value pairs or a single very large value. The extraction path allocates map entries while parsing the attacker-controlled header on every request, causing unbounded CPU and memory consumption in an HTTP service where the baggage propagation style is enabled, which is the default for most affected tracers. This can cause denial of service. This issue is fixed in version 1.62.0.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven com.datadoghq:dd-java-agent | < 1.62.0 | 1.62.0 | osv |
| DataDog dd-trace-java | < 1.62.0 | — | cvelist |
| com.datadoghq dd-java-agent | < 1.62.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-50270. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-50270.md Affected: com.datadoghq:dd-java-agent < 1.62.0 Fixed in: 1.62.0 Steps: 1. Search this machine and project for com.datadoghq:dd-java-agent (Maven), DataDog dd-trace-java, com.datadoghq dd-java-agent: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-50270 being exploited?
There is no confirmed exploitation: CVE-2026-50270 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.79% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-50270?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-50270?
com.datadoghq:dd-java-agent < 1.62.0.
Is there a fix for CVE-2026-50270?
Yes. Fixed in 1.62.0. Upgrade com.datadoghq:dd-java-agent to 1.62.0 or later.
How do I check if I'm affected by CVE-2026-50270?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.