Vulnerability · Published Jul 17, 2026 · Assigned by GitHub_M
CVE-2026-50274dd-trace-go: Improper parsing of W3C baggage headers may lead to DoS
High 7.5
In plain English
A high-severity resource allocation without limits in dd-trace-go from DataDog. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Datadog dd-trace-go is a Go client library for Datadog application performance monitoring, profiling, and security monitoring. Prior to 2.8.1, 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 2.8.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/DataDog/dd-trace-go | no fix listed | GHSA-74j5-xf3v-crq8 |
| Go | github.com/DataDog/dd-trace-go | no fix listed | GO-2026-6000 |
| Go | github.com/DataDog/dd-trace-go/v2 | 2.8.1 | GHSA-74j5-xf3v-crq8 |
| Go | github.com/DataDog/dd-trace-go/v2 | 2.8.1 | GO-2026-6000 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| DataDog | dd-trace-go | < 2.8.1 |
Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/DataDog/dd-trace-go/security/advisories/GHSA-74j5-xf3v-crq8 x_refsource_CONFIRM
- https://github.com/DataDog/dd-trace-go/pull/4720 x_refsource_MISC
- https://github.com/DataDog/dd-trace-go/commit/192712ba0291b2e89166259111ebb5e90c8f52df x_refsource_MISC
- https://github.com/DataDog/dd-trace-go/releases/tag/v2.8.1 x_refsource_MISC