Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
A single unauthenticated network request against a default-enabled feature triggers unbounded allocation, so AV:N/AC:L/PR:N/UI:N with availability-only impact (A:H, C:N/I:N).
Primary rating from Vendor (https://github.com/DataDog/dd-trace-py).
CVSS VectorVendor: https://github.com/DataDog/dd-trace-py
Lifecycle Timeline
3Blast Radius
ecosystem impact- 1 pypi packages depend on ddtrace (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 4.8.2.
DescriptionCVE.org
Impact
Datadog tracing libraries that implement W3C baggage propagation parse incoming baggage HTTP headers without enforcing item-count or byte-size limits on the extract path. The DD_TRACE_BAGGAGE_MAX_ITEMS (default 64) and DD_TRACE_BAGGAGE_MAX_BYTES (default 8192) limits were applied only to baggage injection, not extraction. 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). The tracer allocates a hash-map entry for each pair on every request, causing unbounded CPU and memory consumption and enabling a remote Denial of Service against any HTTP service that has the baggage propagation style enabled. The baggage propagation style is enabled by default in most affected tracers, so any internet-facing service that has been instrumented with an affected tracer version is exposed unless the propagation style has been explicitly narrowed.
Patches
This is resolved in version 4.8.2 and later of the dd-trace-py library
Workarounds
If users cannot upgrade immediately:
- Disable
baggageextraction by removingbaggagefromDD_TRACE_PROPAGATION_STYLE(orDD_TRACE_PROPAGATION_STYLE_EXTRACTif set independently). - Cap the maximum HTTP request header size at an upstream proxy or web server (for example, Apache
LimitRequestFieldSize, Nginxlarge_client_header_buffers, Envoymax_request_headers_kb).
Resources
Related upstream advisories: opentelemetry-go GHSA-mh2q-q3fh-2475 opentelemetry-dotnet GHSA-g94r-2vxg-569j
Articles & Coverage 2
AnalysisAI
Remote denial of service in Datadog's dd-trace-py Python tracing library (versions before 4.8.2) lets unauthenticated attackers exhaust CPU and memory by sending oversized W3C 'baggage' HTTP headers. The DD_TRACE_BAGGAGE_MAX_ITEMS (64) and DD_TRACE_BAGGAGE_MAX_BYTES (8192) safeguards were enforced only on baggage injection, never on extraction, so a single crafted request with a huge number of comma-separated pairs forces the tracer to allocate a hash-map entry per pair on every request. Because the baggage propagation style is enabled by default, any reachable service instrumented with an affected tracer is exposed; no public exploit identified at time of analysis.
Technical ContextAI
The weakness sits in dd-trace-py's implementation of W3C Trace Context 'baggage' propagation, a standard that carries arbitrary application key-value context in the HTTP 'baggage' header across distributed services. On the extract (inbound) path the parser splits the header into comma-separated key-value pairs and materializes each into a hash-map entry without first validating the count against DD_TRACE_BAGGAGE_MAX_ITEMS or total size against DD_TRACE_BAGGAGE_MAX_BYTES - those limits were wired only into the inject (outbound) path. This is a textbook CWE-400 Uncontrolled Resource Consumption, where attacker-controlled untrusted input drives unbounded allocation. The affected component is the PyPI distribution 'ddtrace' (CPE pkg:pip/ddtrace). Datadog notes the same design flaw class affects sibling baggage implementations, citing advisories for opentelemetry-go (GHSA-mh2q-q3fh-2475) and opentelemetry-dotnet (GHSA-g94r-2vxg-569j).
RemediationAI
Vendor-released patch: upgrade dd-trace-py ('ddtrace') to version 4.8.2 or later, per Datadog advisory GHSA-mw54-j2v2-42hr (https://github.com/DataDog/dd-trace-py/security/advisories/GHSA-mw54-j2v2-42hr). If you cannot upgrade immediately, disable baggage extraction by removing 'baggage' from DD_TRACE_PROPAGATION_STYLE (or from DD_TRACE_PROPAGATION_STYLE_EXTRACT if it is set independently); the trade-off is loss of baggage-based context propagation across traced services, while core tracing continues to function. As a complementary perimeter control, cap the maximum HTTP request header size at an upstream proxy or web server - for example Apache LimitRequestFieldSize, Nginx large_client_header_buffers, or Envoy max_request_headers_kb - which limits the attack payload but must be tuned so legitimate large headers (cookies, auth tokens) are not rejected.
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
The ngx_http_parse_chunked function in http/ngx_http_parse.c in nginx 1.3.9 through 1.4.0 allows remote attackers to cau
A critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access
nginx 0.8.41 through 1.4.3 and 1.5.x before 1.5.7 allows remote attackers to bypass intended restrictions via an unescap
An issue was discovered on GL.iNet devices before version 4.5.0. Rated critical severity (CVSS 9.8), this vulnerability
Nginx versions since 0.5.6 up to and including 1.13.2 are vulnerable to integer overflow vulnerability in nginx range fi
The resolver in nginx before 1.8.1 and 1.9.x before 1.9.10 allows remote attackers to cause a denial of service (invalid
Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c
Roxy-WI is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. Rated critical severity (CVSS 9.8
The STARTTLS implementation in mail/ngx_mail_smtp_handler.c in the SMTP proxy in nginx 1.5.x and 1.6.x before 1.6.1 and
Same weakness CWE-400 – Uncontrolled Resource Consumption
View allSame technique Denial Of Service
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-45329
GHSA-mw54-j2v2-42hr