{"id":"CVE-2026-50271","state":"PUBLISHED","title":"dd-trace-py: Improper parsing of W3C baggage headers may lead to DoS","description":"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.","publishedAt":"2026-07-17T20:42:34.036Z","updatedAt":"2026-07-20T19:16:57.759Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["DataDog dd-trace-py"],"affected":[{"vendor":"DataDog","product":"dd-trace-py","versions":[{"version":"< 4.8.2","status":"affected"}]}],"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"],"weaknesses":["CWE-770"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/50xxx/CVE-2026-50271.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-50271","state":"PUBLISHED","datePublished":"2026-07-17T20:42:34.036Z","dateUpdated":"2026-07-20T19:16:57.759Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-04T16:26:05.984Z"},"containers":{"cna":{"title":"dd-trace-py: Improper parsing of W3C baggage headers may lead to DoS","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"DataDog","product":"dd-trace-py","versions":[{"version":"< 4.8.2","status":"affected"}]}],"references":[{"url":"https://github.com/DataDog/dd-trace-py/security/advisories/GHSA-mw54-j2v2-42hr","name":"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","name":"https://github.com/DataDog/dd-trace-py/pull/17926","tags":["x_refsource_MISC"]},{"url":"https://github.com/DataDog/dd-trace-py/commit/9c80faa3dcfe238d008c3b3cd0b8e5dfef0aa4cd","name":"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","name":"https://github.com/DataDog/dd-trace-py/releases/tag/v4.8.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-770","lang":"en","description":"CWE-770: Allocation of Resources Without Limits or Throttling","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-17T20:42:34.036Z"},"source":{"advisory":"GHSA-mw54-j2v2-42hr","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-20T19:13:27.644496Z","id":"CVE-2026-50271","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-20T19:16:57.759Z"}}]}}}