Resource exhaustion in Com.datadoghq Dd-Java-Agent
CVE-2026-50270
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 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Com.datadoghq Dd-java-agent — versions < 1.62.0
- Datadog Dd-trace-java — versions < 1.62.0
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-50270?
- CVE-2026-50270 is a high-severity vulnerability in Com.datadoghq Dd-Java-Agent, classified under Allocation of Resources Without Limits or Throttling. CVSS score: 7.5/10. Published 2026-09-14.
- How severe is CVE-2026-50270?
- High severity. CVSS v3 base score is 7.5 out of 10.