CVE-2026-50272

dd-trace: Improper parsing of W3C baggage headers may lead to DoS

Published Jul 17, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
dd-trace is the Datadog APM client for Node.js. Prior to 5.100.0, W3C baggage propagation in packages/dd-trace/src/baggage.js and packages/dd-trace/src/opentracing/propagation/text_map.js parsed incoming baggage HTTP headers without enforcing DD_TRACE_BAGGAGE_MAX_ITEMS or DD_TRACE_BAGGAGE_MAX_BYTES on extraction. A remote, unauthenticated attacker can send a request whose baggage header contains an arbitrarily large number of comma-separated key-value pairs, or a single very large value, causing unbounded CPU and memory consumption and enabling a remote denial of service against any HTTP service with baggage propagation enabled. This issue is fixed in version 5.100.0.

Analysis

AI-generated

Technical impact

dd-trace‑js, the Datadog APM client for Node.js, processes incoming W3C baggage headers without enforcing the DD_TRACE_BAGGAGE_MAX_ITEMS or DD_TRACE_BAGGAGE_MAX_BYTES limits. A remote, unauthenticated attacker can craft a request whose baggage header contains an arbitrarily large number of comma‑separated key‑value pairs or a single extremely large value, forcing the library to use unbounded CPU and memory and creating a denial‑of‑service for any HTTP service with baggage propagation enabled. The bug is a resource‑exhaustion flaw (CWE‑770). It is addressed in version 5.100.0.

Affected Systems

The vulnerability affects the DataDog dd‑trace‑js library in all releases prior to version 5.100.0. Any Node.js HTTP service that enables baggage propagation and uses this library is exposed.

Risk and Exploitability

The CVSS score of 7.5 indicates a high impact if exploited, while the EPSS score of less than 1% suggests a low but non‑zero likelihood of active exploitation. It is not listed in the CISA KEV catalog, meaning it has not yet been confirmed as a widely exploited vulnerability. An attacker can trigger the DoS by crafting a request bearing a malicious baggage header, with no authentication or special privileges required. The problem is resolved in version 5.100.0, but services not yet patched remain at risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade dd-trace-js to version 5.100.0 or newer.
  • If upgrading is not immediately possible, disable W3C baggage propagation in the offending services by removing the propagation configuration or setting the related environment variable to false.
  • Continuously monitor CPU and memory usage for the affected services, and watch for unusually long baggage headers in logs to detect potential abuse.

Generated by OpenCVE AI on July 30, 2026 at 23:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-wxqq-gcq8-c443 dd-trace-js: Improper parsing of W3C baggage headers may lead to DoS
History
Type Values Removed Values Added
First Time appeared Datadog
Datadog dd-trace-js
Vendors & Products Datadog
Datadog dd-trace-js
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description dd-trace is the Datadog APM client for Node.js. Prior to 5.100.0, W3C baggage propagation in packages/dd-trace/src/baggage.js and packages/dd-trace/src/opentracing/propagation/text_map.js parsed incoming baggage HTTP headers without enforcing DD_TRACE_BAGGAGE_MAX_ITEMS or DD_TRACE_BAGGAGE_MAX_BYTES on extraction. A remote, unauthenticated attacker can send a request whose baggage header contains an arbitrarily large number of comma-separated key-value pairs, or a single very large value, causing unbounded CPU and memory consumption and enabling a remote denial of service against any HTTP service with baggage propagation enabled. This issue is fixed in version 5.100.0.
Title dd-trace: 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'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 21, 2026, 2:19 AM
Reserved
Jun 4, 2026, 4:26 PM
Status
Awaiting Analysis
Published
Jul 17, 2026, 9:17 PM
Modified
Oct 24, 2026, 8:10 PM