CVE-2026-50271 PUBLISHED

dd-trace-py: Improper parsing of W3C baggage headers may lead to DoS

Assigner: GitHub_M
Reserved: 04.06.2026 Published: 17.07.2026 Updated: 17.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 7.5

Product Status

Vendor DataDog
Product dd-trace-py
Versions
  • Version < 4.8.2 is affected

References

Problem Types

  • CWE-770: Allocation of Resources Without Limits or Throttling CWE