CVE-2026-50270

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductCom.datadoghq:dd-java-agent
PublishedSep 14, 2026
First seenSep 14, 2026

How to fix

Update
  • com.datadoghq:dd-java-agent1.62.0 or later

Affected products

ProductAffected versionsFixed in
com.datadoghq:dd-java-agentMavenv < 1.62.01.62.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.