Skip to main content
EPSS 0.8%top 45%

Com.datadoghq:dd java agent: dd-trace-java: Improper parsing of W3C baggage headers may lead to DoS (CVE-2026-50270)

0
High
Published: 09/14/2026 (09/14/2026, 17:03:39 UTC)
Source: GCVE Database
Product: com.datadoghq:dd-java-agent

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.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

Mavenghsa
com.datadoghq:dd-java-agent
Affected versions
<1.62.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/14/2026, 22:13:08 UTC

Technical Analysis

The dd-trace-java agent, a Datadog APM client for Java, improperly parses W3C baggage headers before version 1.62.0. While limits on baggage size and item count are enforced during baggage injection, these limits are not applied during extraction. An attacker can exploit this by sending a baggage HTTP header with many comma-separated key-value pairs or a single very large value. The extraction path allocates map entries for each parsed item, causing unbounded CPU and memory usage, resulting in denial of service. The vulnerability is addressed in dd-trace-java version 1.62.0.

Potential Impact

Remote unauthenticated attackers can cause denial of service in HTTP services using dd-trace-java with baggage propagation enabled by sending maliciously crafted baggage headers that exhaust CPU and memory resources. There is no impact on confidentiality or integrity reported.

Mitigation Recommendations

Upgrade dd-trace-java to version 1.62.0 or later, where this issue is fixed. No other mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-74xj-wh4w-vqxc
Osv Schema Version
1.4.0
Aliases
["CVE-2026-50270"]
Ecosystems
["Maven"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a58b40468715ace43d67064

Added to database: 07/16/2026, 10:35:48 UTC

Last enriched: 09/14/2026, 22:13:08 UTC

Last updated: 10/15/2026, 06:48:16 UTC

Views: 185

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses