Vulnerability · Published Jul 17, 2026 · Assigned by GitHub_M
CVE-2026-50272dd-trace: Improper parsing of W3C baggage headers may lead to DoS
High 7.5
In plain English
A high-severity resource allocation without limits in dd-trace-js from DataDog. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | dd-trace | 5.100.0 | GHSA-wxqq-gcq8-c443 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| DataDog | dd-trace-js | < 5.100.0 |
Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/DataDog/dd-trace-js/security/advisories/GHSA-wxqq-gcq8-c443 x_refsource_CONFIRM
- https://github.com/DataDog/dd-trace-js/pull/8255 x_refsource_MISC
- https://github.com/DataDog/dd-trace-js/commit/a7d4c0da05f67cde05a99272b725a317c461d0e6 x_refsource_MISC
- https://github.com/DataDog/dd-trace-js/releases/tag/v5.100.0 x_refsource_MISC