CVE-2026-50271
HIGH 7.5CVSS 3.1dd-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.
- Published
- 17 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-mw54-j2v2-42hrPYSEC-2026-3461
- Sources
- NVDJSONOSV GHSA-mw54-j2v2-42hrJSONOSV PYSEC-2026-3461JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | ddtrace | < 4.8.2 | 4.8.2 |
References
- https://github.com/DataDog/dd-trace-py/commit/9c80faa3dcfe238d008c3b3cd0b8e5dfef0aa4cd
- https://github.com/DataDog/dd-trace-py/pull/17926
- https://github.com/DataDog/dd-trace-py/releases/tag/v4.8.2
- https://github.com/DataDog/dd-trace-py/security/advisories/GHSA-mw54-j2v2-42hr · WEB
- https://github.com/DataDog/dd-trace-py · PACKAGE
- https://pypi.org/project/ddtrace · PACKAGE
- https://github.com/advisories/GHSA-mw54-j2v2-42hr · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-50271 · ADVISORY
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 17 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 Jul 2026)