{"id":"CVE-2026-50271","published":"2026-07-17T20:42:34Z","modified":"2026-07-20T19:16:57Z","title":"dd-trace-py: Improper parsing of W3C baggage headers may lead to DoS","vendor":"DataDog","product":"dd-trace-py","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00793,"percentile":0.57259,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/DataDog/dd-trace-py/security/advisories/GHSA-mw54-j2v2-42hr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/DataDog/dd-trace-py/pull/17926","tags":["x_refsource_MISC"]},{"url":"https://github.com/DataDog/dd-trace-py/commit/9c80faa3dcfe238d008c3b3cd0b8e5dfef0aa4cd","tags":["x_refsource_MISC"]},{"url":"https://github.com/DataDog/dd-trace-py/releases/tag/v4.8.2","tags":["x_refsource_MISC"]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":11.45},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"datadog","affectedVersions":[{"vendor":"DataDog","product":"dd-trace-py","versions":["< 4.8.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-20T19:13:27.644496Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"ddtrace","vulnerableRanges":["<4.8.2"],"patched":["4.8.2"],"from":["GHSA-mw54-j2v2-42hr","PYSEC-2026-3461"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-45329","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-50271","published":"2026-07-17","fixed":"4.8.2","kev":false},{"cve":"CVE-2026-116589","published":"2026-10-26","fixed":"4.15.5","kev":false,"link":{"from":"CVE-2026-50271","to":"CVE-2026-116589","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ddtrace","fromFixed":"4.8.2","toFixed":"4.15.5","daysApart":101}]}},{"cve":"CVE-2026-116588","published":"2026-10-26","fixed":"4.15.6","kev":false}],"package":"PyPI:ddtrace"}}