Skip to main content
← All vulnerabilities
CVE-2026-50271GHSA-MW54-J2V2-42HRPYSEC-2026-3461

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.8.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • DataDog dd-trace-py

    fixed in 4.8.2

  • ddtracePyPI

    fixed in 4.8.2

References 4

GitHub · DataDog/dd-trace-py