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.
CVE-2026-50271
This high-severity CVE scores 7.5 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.8%, top 47% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EG Risk
- 49(Track)EG Risk 49/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity75% × 45%Exploitation1% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS
- 52.5%
- KEV
- Not listed
Published
July 15, 2026
Last Modified
July 23, 2026
Advisory Details (4)
Auto-updated Jul 17, 2026Improper parsing of W3C baggage headers may lead to DoS · Advisory · DataDog/dd-trace-py · GitHub
https://github.com/DataDog/dd-trace-py/security/advisories/GHSA-mw54-j2v2-42hr4.8.2
Patch available: DataDog/dd-trace-py v4.8.2
https://github.com/DataDog/dd-trace-py/releases/tag/v4.8.2fix: limit baggage header extraction [backport 4.8]
Patch available: DataDog/dd-trace-py v4.8.8 (PR #17926 merged 2026-05-06)
https://github.com/DataDog/dd-trace-py/pull/17926commit 9c80faa3dcfe (DataDog/dd-trace-py)
Patch available: DataDog/dd-trace-py v4.8.8 (contains commit 9c80faa3dcfe)
https://github.com/DataDog/dd-trace-py/commit/9c80faa3dcfe238d008c3b3cd0b8e5dfef0aa4cdVendor Advisories for CVE-2026-50271(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| ddtrace | 0.10.0 ... 4.8.1 (774 versions) | 4.8.2 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 9× in last 7d / 10× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:18 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:36 UTCEG score recompute
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-15 23:19 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-770
- CVE-2018-20033EG 9.8CRITICAL
- CVE-2019-11479NVD 7.5EG 9.0EPSS 100%HIGH
- CVE-2019-11478NVD 5.3EG 9.0EPSS 100%MEDIUM
- CVE-2019-10088EG 8.8EPSS 91%HIGH
- CVE-2018-15462EG 8.6HIGH
- CVE-2018-15460EG 8.6HIGH
- CVE-2018-0137EG 8.6HIGH
- CVE-2008-5180NVD 5.3EG 7.9EPSS 99%MEDIUM
- CVE-2019-10094EG 7.8HIGH
- CVE-2018-16865EG 7.8HIGH
Frequently asked(5)
What is CVE-2026-50271?
When was CVE-2026-50271 disclosed?
Is CVE-2026-50271 actively exploited?
What is the CVSS score of CVE-2026-50271?
How do I remediate CVE-2026-50271?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-50271
Is Your Infrastructure Affected by CVE-2026-50271?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.