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.
Published: 2026-09-14
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch
AI Analysis

Impact

In dd-trace-java versions prior to 1.62.0 the library does not enforce the maximum number of baggage items or maximum baggage bytes when extracting W3C baggage headers. An unauthenticated attacker can send an HTTP header containing many comma-separated key‑value pairs or a single very large value. The extraction code allocates map entries for each pair while parsing the attacker‑controlled header on every request. This can lead to unbounded CPU and memory consumption in an HTTP service that has baggage propagation enabled, resulting in a denial of service.

Affected Systems

The vulnerability affects the Datadog APM Java client known as dd-trace-java or com.datadoghq:dd-java-agent in all releases before 1.62.0.

Risk and Exploitability

The CVSS score of 7.5 categorizes this flaw as high severity, and the EPSS score is not available, so the current exploitation likelihood is unknown. The attacker does not need authentication and only needs to send a crafted HTTP request to a service that uses the tracer, which is the default for most affected tracers. The KEV catalog does not list this vulnerability, but exposed services.

Generated by OpenCVE AI on September 15, 2026 at 12:49 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade dd-trace-java to version 1.62.0 or later to enforce baggage size limits
  • Verify that baggage propagation is not exposed to untrusted inbound traffic and review application configuration
  • If an upgrade is not yet feasible, disable baggage propagation or limit the use of W3C baggage headers in the tracer configuration

Generated by OpenCVE AI on September 15, 2026 at 12:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-74xj-wh4w-vqxc dd-trace-java: Improper parsing of W3C baggage headers may lead to DoS
History

Mon, 14 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
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.
Title dd-trace-java: Improper parsing of W3C baggage headers may lead to DoS
Weaknesses CWE-770
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-14T19:16:55.404Z

Reserved: 2026-06-04T16:26:05.984Z

Link: CVE-2026-50270

cve-icon Vulnrichment

Updated: 2026-09-14T19:16:37.582Z

cve-icon NVD

Status : Received

Published: 2026-09-14T18:17:49.830

Modified: 2026-09-14T20:16:45.143

Link: CVE-2026-50270

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-15T13:00:17Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling