CVE-2026-50271: Datadog Dd-Trace-Py

High severity, CVSS 7.5. EPSS: 0.8% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • Datadog Dd-Trace-Py, before 4.8.2: fixed in 4.8.2

Affected products

Affected packages

Published 2026-07-17. Last modified 2026-10-24.