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

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 2.32.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-09-14 · Modified: 2026-09-14
- Aliases: GHSA-p5f6-rccc-jv98
- Record: https://cvemate.com/vulnerability/CVE-2026-50276 · JSON: https://cvemate.com/vulnerability/CVE-2026-50276/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.759%, percentile 56.63%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- datadog dd-trace-rb: \< 2.32.0
- RubyGems datadog (RubyGems): \< 2.32.0

## References

- <https://github.com/DataDog/dd-trace-rb/security/advisories/GHSA-p5f6-rccc-jv98>
- <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>

---

Data as of 2026-12-05T05:21:42.720Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
