CVE-2026-50276
HIGH 7.5CVSS 3.1dd-trace-rb: Improper parsing of W3C baggage headers may lead to DoS
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.
- Published
- 14 Sep 2026
- Last modified
- 25 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-p5f6-rccc-jv98
- Sources
- NVDJSONOSV GHSA-p5f6-rccc-jv98JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | RubyGems | datadog | < 2.32.0 | 2.32.0 |
References
- https://github.com/DataDog/dd-trace-rb/commit/361947090214488778ac4f144e219426ffcf92e6
- https://github.com/DataDog/dd-trace-rb/pull/5672
- https://github.com/DataDog/dd-trace-rb/releases/tag/v2.32.0
- https://github.com/DataDog/dd-trace-rb/security/advisories/GHSA-p5f6-rccc-jv98 · WEB
- https://github.com/DataDog/dd-trace-rb · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 14 Sep 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Jul 2026)