Home / DataDog / dd-trace-py / CVE-2026-50271
CVE-2026-50271: is it exploited, and which versions of DataDog dd-trace-py are affected and fixed?
CVE-2026-50271 is a denial of service (resources allocated without limits) vulnerability in DataDog dd-trace-py. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: ddtrace before 4.8.2 (GitHub advisory GHSA-mw54-j2v2-42hr). Fixed in 4.8.2 (GitHub advisory GHSA-mw54-j2v2-42hr). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-50271?
dd-trace-py: Improper parsing of W3C baggage headers may lead to DoS
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.
From the CVE record by GitHub_M, last updated July 20, 2026, 19:16 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| DataDog | dd-trace-py | < 4.8.2 |
As the CVE record by GitHub_M states it, last updated July 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | ddtrace | < 4.8.2 | 4.8.2 | GHSA-mw54-j2v2-42hr |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 15, 2026. Summary: dd-trace-py: Improper parsing of W3C baggage headers may lead to DoS.
How severe is CVE-2026-50271?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-50271 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, July 20, 2026)
- EPSS
- 0.44% probability of exploitation activity in the next 30 days, percentile 40.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-770 Allocation of Resources Without Limits or Throttling
- CWE-400 Uncontrolled Resource Consumption
Where are the vendor advisories and references?
- https://github.com/DataDog/dd-trace-py/security/advisories/GHSA-mw54-j2v2-42hr x_refsource_CONFIRM
- https://github.com/DataDog/dd-trace-py/pull/17926 x_refsource_MISC
- https://github.com/DataDog/dd-trace-py/commit/9c80faa3dcfe238d008c3b3cd0b8e5dfef0aa4cd x_refsource_MISC
- https://github.com/DataDog/dd-trace-py/releases/tag/v4.8.2 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- June 4, 2026
- Published
- July 17, 2026, 20:42 UTC
- CVE record updated
- July 20, 2026, 19:16 UTC by GitHub_M
- NVD
- Awaiting Analysis, last modified October 24, 2026, 20:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect dd-trace-py?
- Oct 26, 2026CVE-2026-116589 DataDog dd-trace-py: uncaught exception (crash)
- Oct 26, 2026CVE-2026-116588 DataDog dd-trace-py: regular expression denial of service (ReDoS)
Questions about CVE-2026-50271
Is CVE-2026-50271 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.44% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of DataDog dd-trace-py are affected by CVE-2026-50271?
ddtrace before 4.8.2, per the GitHub advisory GHSA-mw54-j2v2-42hr. The tables above give every range the sources list.
Which version fixes CVE-2026-50271?
4.8.2, per the GitHub advisory GHSA-mw54-j2v2-42hr. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-50271?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-50271?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.