Read the docs
TI-2026-37019 Aliases CVE-2026-50276GHSA-p5f6-rccc-jv98

dd-trace-rb: Improper parsing of W3C baggage headers may lead to DoS

Priority MEDIUM 40CWE-770Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-770.

Summary

dd-trace-rb is Datadog's client library for Ruby. Prior to 2.32.0, W3C baggage extraction does not enforce DD_TRACE_BAGGAGE_MAX_ITEMS, which defaults to 64, or DD_TRACE_BAGGAGE_MAX_BYTES, which defaults to 8192, although those limits apply during baggage injection. A remote unauthenticated attacker can send a baggage HTTP header containing many comma-separated key-value pairs or a single very large value. The extraction path allocates entries while parsing the attacker-controlled header on every request, causing unbounded CPU and memory consumption in an HTTP service where the baggage propagation style is enabled, which is the default for most affected tracers. This can cause denial of service. This issue is fixed in version 2.32.0.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00793 56th percentileScored 2026-11-07
Fix Fixed dd-trace-rb (DataDog): 2.32.0datadog (RubyGems): 2.32.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
DataDogdd-trace-rbbefore 2.32.02.32.0Patch availableCNA
—datadog (RubyGems)before 2.32.02.32.0Patch availableGHSA-p5f6-rccc-jv98
  • dd-trace-rb VendorDataDog Affected before 2.32.0 Fixed in 2.32.0 Patch available CNA
  • datadog (RubyGems) Vendor— Affected before 2.32.0 Fixed in 2.32.0 Patch available GHSA-p5f6-rccc-jv98

Remediation

  • Fix · CNA dd-trace-rb (DataDog) Fixed in 2.32.0
  • Fix · GHSA-p5f6-rccc-jv98 datadog (RubyGems) Fixed in 2.32.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-50276
  2. 2026-10-03 Alias added: GHSA-p5f6-rccc-jv98

References

  • TI-2026-32833 GuardDog: Blind GitHub URL rewrite in remote project scanning causes SSRF and `GH_TOKEN` exfiltration CVSS 3.1HIGH 8.2
  • TI-2022-07587 GuardDog vulnerable to arbitrary file write when scanning a specially-crafted remote PyPI package CVSS 3.1MEDIUM 6.5
  • TI-2026-26107 dd-trace-java: Unsafe deserialization in RMI instrumentation may lead to remote code execution CVSS 4.0CRITICAL 9.3
  • TI-2026-81528 ReDoS in dd-trace URL query string obfuscation CVSS 4.0HIGH 8.7
  • TI-2026-80927 ReDoS in Datadog dd-trace-py URL query string obfuscation CVSS 4.0HIGH 8.7
  • TI-2023-20052 import-in-the-middle allows unsanitized user controlled input in module generation CVSS 3.1CRITICAL 9.8
See all 28 →

Sources