# CVE-2026-50276: dd-trace-rb: Improper parsing of W3C baggage headers may lead to DoS

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 56% of CVEs (2026-12-01)
- Published: 2026-07-15T23:07:49.000Z
- Modified: 2026-09-25T14:10:13.927Z
- Also known as: GHSA-p5f6-rccc-jv98
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- DataDog dd-trace-rb: < 2.32.0
- datadog (RubyGems): before 2.32.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `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-rb/security/advisories/GHSA-p5f6-rccc-jv98> (web)
- <https://github.com/DataDog/dd-trace-rb/pull/5672>
- <https://github.com/DataDog/dd-trace-rb/commit/361947090214488778ac4f144e219426ffcf92e6>
- <https://github.com/DataDog/dd-trace-rb/releases/tag/v2.32.0>
- <https://github.com/DataDog/dd-trace-rb> (package)

## Sources

- CVE List: [CVE-2026-50276](https://www.cve.org/CVERecord?id=CVE-2026-50276), CVE Terms of Use, modified 2026-09-14
- GitHub Advisory Database: [GHSA-p5f6-rccc-jv98](https://github.com/advisories/GHSA-p5f6-rccc-jv98), CC-BY-4.0, modified 2026-07-15
- NVD: [CVE-2026-50276](https://nvd.nist.gov/vuln/detail/CVE-2026-50276), Public domain, modified 2026-09-25

---

Page: https://cve.day/CVE-2026-50276 · Whole record: https://cve.day/CVE-2026-50276.json · Rebuilt by cve.day 2026-11-25T22:59:38.324Z
