Skip to main content

dd-trace-rb CVE-2026-50276

| EUVDEUVD-2026-77671 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-07-15 https://github.com/DataDog/dd-trace-rb GHSA-p5f6-rccc-jv98
7.5
CVSS 3.1 · Vendor: https://github.com/DataDog/dd-trace-rb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify internet-facing dd-trace-rb service
  2. Delivery
    Craft baggage header with massive key-value count
  3. Exploit
    Send unauthenticated HTTP requests
  4. Execution
    Tracer allocates hash-map entry per pair
  5. Persist
    Repeat to exhaust CPU and memory
  6. Impact
    Denial of Service / crash

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target Ruby service be instrumented with dd-trace-rb (datadog gem) before version 2.32.0 AND have the baggage propagation style enabled on the extract path - which is the default in most affected tracers, so no non-default configuration is needed. The attacker only needs network reachability to an HTTP endpoint that processes the incoming baggage header; per PR:N/UI:N no authentication or user interaction is required. The primary limiting factor is deployment-specific: services that have explicitly narrowed DD_TRACE_PROPAGATION_STYLE/DD_TRACE_PROPAGATION_STYLE_EXTRACT to exclude baggage, or that sit behind a proxy enforcing strict header-size caps, are not exposed. Impact is confined to availability (C:N/I:N/A:H) - no code execution or data disclosure.

Impact

The CVSS 3.1 score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) accurately captures a network-reachable, low-complexity, unauthenticated availability-only impact with no confidentiality or integrity loss. No EPSS score, KEV listing, SSVC decision, or POC was provided in the input, so exploitation likelihood must be inferred from the mechanics rather than measured signals. The attack is trivially automatable and requires no special conditions beyond the default-enabled baggage propagation style, which raises real-world concern; however, the impact ceiling is service disruption only, not compromise. This is a legitimate availability priority for internet-facing Ruby services but is not a data-breach-class emergency - absent KEV or EPSS data, treat exploitation as plausible-but-unconfirmed rather than known-active.

Exploit ScenarioDerived

An attacker identifies an internet-facing Ruby web service instrumented with a vulnerable dd-trace-rb version and sends HTTP requests carrying a baggage header packed with tens of thousands of comma-separated key-value pairs (or one enormous value). Each request forces the tracer to allocate a hash-map entry per pair, and a modest flood of such requests exhausts CPU and memory, degrading or crashing the service. No public exploit was identified at time of analysis, but the technique is simple to script given AV:N/AC:L/PR:N.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 15, 2026

Remote unauthenticated Denial of Service in Datadog's dd-trace-rb Ruby tracing library (versions before 2.32.0) allows attackers to exhaust CPU and memory by sending HTTP requests with oversized or high-cardinality W3C baggage headers. Because the DD_TRACE_BAGGAGE_MAX_ITEMS (64) and DD_TRACE_BAGGAGE_MAX_BYTES (8192) limits were enforced only on injection and not extraction, the tracer allocates a hash-map entry per comma-separated pair on every request. Baggage propagation is enabled by default, so any internet-facing instrumented Ruby service is exposed; no public exploit was identified at time of analysis, and this CVE is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade the datadog RubyGem to version 2.32.0 or later, which enforces the item-count and byte-size limits on the extract path, per GHSA-p5f6-rccc-jv98 (https://github.com/DataDog/dd-trace-rb/security/advisories/GHSA-p5f6-rccc-jv98). If immediate upgrade is not possible, disable baggage extraction by removing baggage from DD_TRACE_PROPAGATION_STYLE (or DD_TRACE_PROPAGATION_STYLE_EXTRACT if set independently), with the trade-off that inbound baggage context will no longer be propagated into traces. As an additional layer, cap 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 - noting that overly aggressive limits may reject legitimate large-header requests and must be tuned to your application.

Affected VersionsENISA

dd-trace-rb < 2.32.0

Affected Packages

rubygems datadog fix: 2.32.0
euvd dd_trace_rb fix: 2.32.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in rubygems, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability lives in the W3C Trace Context / OpenTelemetry baggage propagation mechanism, a standard for carrying arbitrary key-value pairs across distributed-tracing hops via the baggage HTTP header. dd-trace-rb (the datadog RubyGem, CPE pkg:rubygems/datadog) parses this header on the extract path by splitting on commas and allocating a hash-map entry for each pair, but omitted the count and byte-size caps that already guarded the inject path. This is a classic CWE-400 Uncontrolled Resource Consumption: attacker-controlled input directly drives unbounded allocation and CPU work. The same defect class was addressed in sibling libraries opentelemetry-go (GHSA-mh2q-q3fh-2475) and opentelemetry-dotnet (GHSA-g94r-2vxg-569j), indicating a cross-ecosystem baggage-parsing pattern.

Know when Nginx gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/DataDog/dd-trace-rb) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Remote unauthenticated attacker sends a crafted header with no user interaction (AV:N/AC:L/PR:N/UI:N); impact is availability-only resource exhaustion, so C:N/I:N/A:H, scope unchanged.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/DataDog/dd-trace-rb).

CVSS VectorVendor: https://github.com/DataDog/dd-trace-rb

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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 2.32.0 and later of the dd-trace-rb library.

Workarounds

If users cannot upgrade immediately:

  1. Disable baggage extraction by removing baggage from DD_TRACE_PROPAGATION_STYLE (or DD_TRACE_PROPAGATION_STYLE_EXTRACT if set independently).
  2. Cap the maximum HTTP request header size at an upstream proxy or web server (for example, Apache LimitRequestFieldSize, Nginx large_client_header_buffers, Envoy max_request_headers_kb).

Resources

Related upstream advisories: opentelemetry-go GHSA-mh2q-q3fh-2475 opentelemetry-dotnet GHSA-g94r-2vxg-569j

Executive ViewAI

Why It Matters

The Datadog dd-trace-rb Ruby tracing library (versions prior to 2.32.0) contains an unauthenticated remote denial-of-service vulnerability allowing attackers to exhaust CPU and memory on internet-facing instrumented Ruby services. Since baggage propagation is enabled by default and no vendor patch is currently available, all affected applications face potential service disruption risk. Organizations must implement interim protections immediately to prevent attackers from taking critical services offline.

Business Impact: High
Compensating Controls

Implement WAF rules to reject HTTP requests with oversized or high-cardinality W3C baggage headers; disable trace baggage propagation in non-production environments; enable request rate limiting and connection throttling on affected services; deploy monitoring and alerting for abnormal CPU and memory usage patterns; network-segment internet-facing services from critical internal infrastructure. These interim controls reduce denial-of-service risk until a vendor patch becomes available from Datadog.

Threat Intelligence Overview

EPSS Score
0.8%
Top 47% exploitable
Prevalence
Medium
Datadog Ruby APM is common in observability-instrumented shops, not universal
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Nginx

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2013-2028 HIGH POC
7.5 Jul 20

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

CVE-2025-1974 CRITICAL POC
9.8 Mar 25

A critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access

CVE-2013-4547 HIGH POC
7.5 Nov 23

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

CVE-2023-50919 CRITICAL POC
9.8 Jan 12

An issue was discovered on GL.iNet devices before version 4.5.0. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2017-7529 HIGH
7.5 Jul 13

Nginx versions since 0.5.6 up to and including 1.13.2 are vulnerable to integer overflow vulnerability in nginx range fi

CVE-2016-0742 HIGH
7.5 Feb 15

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

CVE-2025-1098 HIGH POC
8.8 Mar 25

Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress

CVE-2025-24514 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres

CVE-2025-1097 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c

CVE-2022-31137 CRITICAL POC
9.8 Jul 08

Roxy-WI is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. Rated critical severity (CVSS 9.8

CVE-2014-3556 MEDIUM
6.8 Dec 29

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy