# CVE-2026-50271: dd-trace-py: 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 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 4.8.2 (CNA); fix release not confirmed
- Status: published
- Published: 2026-07-17 · Modified: 2026-07-20
- Aliases: GHSA-mw54-j2v2-42hr, PYSEC-2026-3461, CGA-2j2c-rx7j-24r3, CGA-2q37-44g6-qmv6, CGA-58jx-5g83-37f8, CGA-6cm3-9p5x-69pp, CGA-7rcv-29px-3844, CGA-9r44-ph85-wg36, CGA-cqvp-7pm6-3xm7, CGA-g25w-77p3-88rc, CGA-g937-j9pm-2x23, CGA-j22m-rqh8-f599, CGA-jh26-h87f-79rv, CGA-mmq6-j9x6-c6x8, CGA-q85m-5248-wmmh, CGA-r2xf-vmfc-rrjr, CGA-v6pc-3mwq-8hx3, CGA-vf2v-cw63-xrr3, CGA-vq2v-9h38-g7xf, CGA-w979-5f5h-prpp, CGA-w9hq-482w-4p2p, CGA-58jj-3xf9-46fv, CGA-6fwm-q264-gcrx, CGA-756f-29jj-3q3w, CGA-76cw-8fj4-8vx6, CGA-76vm-pcp9-p8rp, CGA-89g3-h4p7-4gp6, CGA-89x7-787m-4v6p, CGA-92c6-hgvg-58j8, CGA-cfjc-c6h6-h637, CGA-ch9w-5x8w-hpq8, CGA-cp75-4x6v-hprx, CGA-f93x-fmg6-62p3, CGA-g889-q84x-qv38, CGA-g8wc-j7g2-wc5m, CGA-gfrv-x27x-76r7, CGA-gjwx-87wp-wc44, CGA-hcm8-7xj9-7q9w, CGA-hcv9-rvqr-2754, CGA-j6f9-v2rx-7v57, CGA-mxw2-2p76-82c2, CGA-phfm-rfmp-988q, CGA-q2vr-hhvc-xmxp, CGA-qjfp-5qg7-7x43, CGA-qr5m-q2v8-xwph, CGA-vwhp-2wvx-c84w, CGA-x59p-rrr7-3jf9
- Record: https://cvemate.com/vulnerability/CVE-2026-50271 · JSON: https://cvemate.com/vulnerability/CVE-2026-50271/json

## Description

```text
Datadog dd-trace-py is the Datadog Python APM client. Prior to 4.8.2, Datadog tracing libraries that implement W3C baggage propagation parse incoming baggage HTTP headers without enforcing DD_TRACE_BAGGAGE_MAX_ITEMS or DD_TRACE_BAGGAGE_MAX_BYTES limits on the extract path. 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 HTTP services with baggage propagation enabled. This issue is fixed in version 4.8.2.
```

## 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.441%, percentile 40.089%, 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 (first 20 of 35)

- chainguard datadog-agent-7.71-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-7.72-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-7.73-core-integrations (Chainguard): \< 7.73.3-r23
- chainguard datadog-agent-7.74-core-integrations (Chainguard): \< 7.74.1-r24
- chainguard datadog-agent-7.75-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-7.76 (Chainguard): All versions (No fix recorded) \| \< 7.76.3-r41
- chainguard datadog-agent-7.76-core-integrations (Chainguard): \< 7.76.3-r31
- chainguard datadog-agent-7.77-core-integrations (Chainguard): \< 7.77.3-r23
- chainguard datadog-agent-7.78-core-integrations (Chainguard): \< 7.78.4-r16
- chainguard datadog-agent-7.79-core-integrations (Chainguard): \< 7.79.2-r16
- chainguard datadog-agent-7.80-core-integrations (Chainguard): \< 7.80.4-r10
- chainguard datadog-agent-fips-7.71-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-fips-7.72-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-fips-7.73-core-integrations (Chainguard): \< 7.73.3-r26
- chainguard datadog-agent-fips-7.74-core-integrations (Chainguard): \< 7.74.1-r26
- chainguard datadog-agent-fips-7.75-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-fips-7.76-core-integrations (Chainguard): \< 7.76.3-r31
- chainguard datadog-agent-fips-7.77-core-integrations (Chainguard): \< 7.77.3-r29
- chainguard datadog-agent-fips-7.78-core-integrations (Chainguard): \< 7.78.4-r13
- chainguard datadog-agent-fips-7.79-core-integrations (Chainguard): \< 7.79.2-r12

## References

- <https://github.com/DataDog/dd-trace-py/security/advisories/GHSA-mw54-j2v2-42hr>
- <https://github.com/DataDog/dd-trace-py/pull/17926>
- <https://github.com/DataDog/dd-trace-py/commit/9c80faa3dcfe238d008c3b3cd0b8e5dfef0aa4cd>
- <https://github.com/DataDog/dd-trace-py/releases/tag/v4.8.2>
- <https://github.com/DataDog/dd-trace-py>
- <https://pypi.org/project/ddtrace>
- <https://github.com/advisories/GHSA-mw54-j2v2-42hr>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50271>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50271.json>

---

Data as of 2026-12-05T05:21:24.269Z. 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
