CVE-2026-50276: dd-trace-rb: Improper parsing of W3C baggage headers may lead to DoS
Vulnerability summary
CVE-2026-50276 is a high (CVSS 7.5) vulnerability in datadog dd-trace-rb. EPSS estimates a 0.76% chance of exploitation in the next 30 days, higher than 56.6% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 14-09-2026PublishedVulnerability first disclosed.
- 14-09-2026Last modifiedVulnerability information updated.
Description
dd-trace-rb is Datadog's client library for Ruby. Prior to 2.32.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 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 2.32.0.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · RubygemsEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.76%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
Decrease -0.03 pp
From 0.79% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Datadog1 product
- dd-trace-rb< 2.32.0
RubyGems1 product
- datadog< 2.32.0
2 vendors · 2 products
References
5 links- github.com/DataDog/dd-trace-rb/pull/5672X Refsource MISC
- github.com/DataDog/dd-trace-rb/releases/tag/v2.32.0X Refsource MISC