CVE-2026-50274 dd-trace-go: Improper parsing of W3C baggage headers may lead to DoS
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
2 packages: 0 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Datadog github.com/DataDog/dd-trace-go(Go) | < 2.8.1; <= 1.24.1; All versions | 2.8.1 | Partially fixed |
| Datadog github.com/DataDog/dd-trace-go | = < 2.8.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Datadog github.com/DataDog/dd-trace-go(Go) | <= 1.24.1 | No fix listed |
| Datadog github.com/DataDog/dd-trace-go(Go) | < 2.8.1 | 2.8.1 |
| Datadog github.com/DataDog/dd-trace-go(Go) | All versions | No fix listed |
| Datadog github.com/DataDog/dd-trace-go | = < 2.8.1 | No fix listed |
References
- https://github.com/DataDog/dd-trace-go/security/advisories/GHSA-74j5-xf3v-crq8 vendor-advisory
- github.com product
- https://github.com/DataDog/dd-trace-go/pull/4720
- https://github.com/DataDog/dd-trace-go/commit/192712ba0291b2e89166259111ebb5e90c8f52df
- https://github.com/DataDog/dd-trace-go/releases/tag/v2.8.1
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2501951 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com