CVE-2026-54788 — Vulnerability in datadog-opentelemetry — CVE Details
datadog-opentelemetry has unbounded W3C tracestate parsing that may lead to DoS
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.79%). Schedule for your next planned update.
Does your project use an affected datadog-opentelemetry version?
Paste your Cargo.lock to check it for CVE-2026-54788 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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:
- Disable
tracecontextextraction by settingDD_TRACE_PROPAGATION_STYLE_EXTRACTto a value that does not includetracecontext(for example,datadog). - Cap the maximum HTTP request header size at an upstream proxy or web server.
Advisory Timeline
- First published August 28, 2026 (90 days ago).
- Last revised August 28, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p datadog-opentelemetry --precise 0.3.3
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: crates.io (1).
| Package | Fixed In |
|---|---|
| datadog-opentelemetry crates.io · Affected: All versions | 0.3.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-770Allocation of Resources Without LimitsMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/DataDog/dd-trace-rs/security/advisories/GHSA-gpwf-4h98-v82qWEB
- https://github.com/DataDog/dd-trace-rs/pull/218WEB
- https://github.com/DataDog/dd-trace-rs/commit/77c5d185c71d0ea8103da0e6cf4cd50677ffacd2WEB
- https://github.com/DataDog/dd-trace-rsPACKAGE
- https://github.com/DataDog/dd-trace-rs/releases/tag/datadog-opentelemetry-v0.3.3WEB
Frequently Asked Questions
- What is CVE-2026-54788?
- datadog-opentelemetry has unbounded W3C tracestate parsing that may lead to DoS. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2026-54788?
- CVE-2026-54788 affects datadog-opentelemetry. It has a 0.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-54788 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is an above-median EPSS score — 52.9% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-83816HIGH
CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE
- CVE-2026-83817HIGH
CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution