Skip to main content

datadog-opentelemetry CVE-2026-54788

| EUVDEUVD-2026-67829 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-08-28 https://github.com/DataDog/dd-trace-rs GHSA-gpwf-4h98-v82q
7.5
CVSS 3.1 · Vendor: https://github.com/DataDog/dd-trace-rs
View

Attack ChainAIDerived

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

  1. Access
    Send HTTP request with crafted oversized tracestate header
  2. Delivery
    tracecontext extractor parses dd= vendor entry
  3. Exploit
    Unbounded semicolon-split iterates all pairs
  4. Execution
    HashMap allocates entry per pair with no size cap
  5. Persist
    Repeat at volume to exhaust heap and CPU
  6. Impact
    Target service becomes unavailable

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation 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 service is written in Rust, instrumented with the datadog-opentelemetry crate at version 0.1.0 through 0.3.2, and that tracecontext is present in the propagation extraction style - which is the default configuration, so no special operator misconfiguration is necessary. The service must expose HTTP endpoints reachable by the attacker over the network. Authentication is not required (CVSS PR:N). Exploitation is constrained to this specific Rust crate; Datadog tracers for other languages are not affected. Explicit removal of tracecontext from DD_TRACE_PROPAGATION_STYLE_EXTRACT, or an upstream proxy that enforces a strict HTTP header size limit, would prevent exploitation.

Impact

The CVSS 7.5 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) is well-calibrated: the attack is network-reachable, requires no authentication or special complexity, and the only impact is availability, which aligns with a pure resource-exhaustion DoS. EPSS data was not provided in the input, so exploitation probability from that signal cannot be quantified. The vulnerability is absent from CISA KEV and no public exploit code is identified beyond the published advisory and PR diff. Real-world risk is amplified by the default-on attack surface: any Rust service instrumented with Datadog APM that accepts inbound HTTP is exposed without operator action, meaning even a small engineering team running a single internet-facing microservice is affected if they have not explicitly reconfigured propagation styles. The impact ceiling is service unavailability (no code execution, no data exposure), which bounds the blast radius. Organizations with automated dependency management (Dependabot, cargo-audit CI) can close this rapidly; the fix is a single version bump.

Exploit ScenarioDerived

An attacker targeting an internet-facing Rust service instrumented with an affected dd-trace-rs version sends a stream of HTTP requests each carrying a tracestate header with a dd= entry containing tens of thousands of semicolon-delimited key:value pairs (e.g., dd=k1:v1;k2:v2;...;k50000:v50000). Each request causes the tracer to allocate a proportionally large HashMap on the heap and burn CPU iterating the pairs; sustained at even moderate request rates this exhausts available memory and CPU, degrading or crashing the service. No authentication bypass or special protocol knowledge is required beyond constructing a well-formed HTTP header.

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

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

Alert me

AnalysisAIv1 – Aug 28, 2026

Unbounded W3C tracestate parsing in the datadog-opentelemetry Rust crate (dd-trace-rs) allows remote unauthenticated attackers to exhaust CPU and memory on any instrumented service by sending HTTP requests with an arbitrarily large or pair-dense dd= vendor entry in the tracestate header. Affected versions 0.1.0 through 0.3.2 are exposed under default configuration because tracecontext extraction is enabled without any opt-in, making every internet-facing Rust service using Datadog APM a viable target. No active exploitation is confirmed (not in CISA KEV), but the zero-configuration attack surface and published advisory make this a prompt remediation priority for affected deployments.

RemediationAI

The primary remediation is upgrading datadog-opentelemetry to version 0.3.3 or later, available at https://github.com/DataDog/dd-trace-rs/releases/tag/datadog-opentelemetry-v0.3.3; update the Cargo.toml dependency and rebuild the affected service. If an immediate upgrade is not feasible, disable tracecontext extraction by setting the environment variable DD_TRACE_PROPAGATION_STYLE_EXTRACT to a value that excludes tracecontext, such as datadog - this eliminates the attack surface entirely but may break distributed trace correlation with OpenTelemetry-instrumented upstream or downstream services that rely on the W3C traceparent/tracestate headers. A second workaround is capping the maximum HTTP request header size at an upstream proxy or load balancer (e.g., nginx large_client_header_buffers, HAProxy tune.maxrewrite, or an AWS ALB header size policy); this limits the byte volume an attacker can deliver per request but does not eliminate the vulnerability and may reject legitimate large headers from compliant clients. See the full advisory at https://github.com/DataDog/dd-trace-rs/security/advisories/GHSA-gpwf-4h98-v82q for additional guidance.

Affected VersionsENISA

dd-trace-rs 0.1.0, < 0.3.3

Affected Packages

cargo datadog-opentelemetry fix: 0.3.3
euvd dd_trace_rs_0_1_0 fix: 0.3.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in cargo, euvd

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

Technical ContextAI · show details

The W3C Trace Context specification encodes vendor-specific trace metadata in the tracestate HTTP header using prefixed key=value entries; Datadog uses the dd= prefix to carry semicolon-delimited key:value pairs such as sampling priority and origin. The datadog-opentelemetry crate (pkg:rust/datadog-opentelemetry, versions >=0.1.0 <0.3.3) implements FromStr for its Tracestate type by splitting the dd= value on semicolons and calling .collect() into a HashMap<String, String> with no bound on entry count or total byte length. CWE-770 (Allocation of Resources Without Limits or Throttling) is the precise root cause: each semicolon-delimited token unconditionally allocates a heap entry, so a header containing an arbitrarily large number of k:v pairs causes proportional memory and CPU consumption per request. The PR diff (pull/218) confirms the vulnerable collect() call was removed and the Tracestate and InjectTraceState types refactored into a separate tracecontext module, presumably with size enforcement.

Know when the next one hits your stack

  • 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-rs) 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

Default network-accessible tracecontext parsing requires no auth or complexity; sole impact is availability exhaustion with no confidentiality or integrity loss.

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-rs).

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

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 Trace Context (tracecontext) propagation parse the incoming tracestate header without enforcing a size cap on the Datadog vendor entry (dd=...). The dd= value contains semicolon-separated key:value pairs, and the parser allocates a hash-map entry for each pair. A remote, unauthenticated attacker can send a tracestate header whose dd= member is arbitrarily large (or contains an arbitrarily large number of pairs), forcing unbounded CPU and memory consumption per request and enabling a remote Denial of Service. tracecontext extraction is enabled by default in affected tracers, so any internet-facing service instrumented with an affected version is exposed unless tracecontext has been explicitly removed from the propagation style configuration.

Patches

This is resolved in version 0.3.3 and later of the dd-trace-rs library.

Workarounds

If you cannot upgrade immediately:

  1. Disable tracecontext extraction by setting DD_TRACE_PROPAGATION_STYLE_EXTRACT to a value that does not include tracecontext (for example, datadog).
  2. Cap the maximum HTTP request header size at an upstream proxy or web server.

Technical POC Analysis

CWE-770 (Allocation of Resources Without Limits or Throttling; the GHSA page itself lists no CWE, the mapping comes from the CVE record).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Datadog APM-instrumented Rust services running versions 0.1.0 through 0.3.2 face a denial-of-service vulnerability exploitable by remote unauthenticated attackers through HTTP header manipulation. The flaw is enabled by default on all affected services, creating an immediate availability risk for any internet-facing Rust application using dd-trace-rs without requiring vendor patch deployment.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 56% exploitable
Prevalence
Low
Rust-specific Datadog APM crate, narrower footprint than polyglot tracers
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.6%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

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.

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