ReDoS in dd-trace URL query string obfuscation
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1333.
Summary
dd-trace, the Datadog APM client for Node.js, is affected from 2.0.0 before 5.131.1 and from 6.0.0 before 6.20.1. The default DD_TRACE_OBFUSCATION_QUERY_STRING_REGEXP can backtrack excessively on attacker-controlled URL query strings because a regular expression runs synchronously while HTTP URL metadata is recorded. A remote unauthenticated attacker can send a crafted request that consumes excessive CPU and stalls request processing, making the instrumented application unavailable.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
dd-trace is the Datadog APM client for Node.js. From 2.0.0 until 5.131.1 and 6.20.1, the default DD_TRACE_OBFUSCATION_QUERY_STRING_REGEXP can perform excessive backtracking on attacker-controlled URL query strings. The expression is applied synchronously while recording HTTP URL metadata, allowing a crafted request to consume excessive CPU, stall request processing, and make the instrumented application unavailable. This issue is fixed in versions 5.131.1 and 6.20.1.
Why it matters now
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| DataDog | dd-trace-js | 2.0.0 to before 5.131.1; 6.0.0 to before 6.20.1 | 5.131.1, 6.20.1 | Patch available | CNA |
| — | dd-trace (npm) | 2.0.0 to before 5.131.1 | 5.131.1 | Patch available | GHSA-x94g-w73q-hpcw |
| — | dd-trace (npm) | 6.0.0 to before 6.20.1 | 6.20.1 | Patch available | GHSA-x94g-w73q-hpcw |
- dd-trace-js VendorDataDog Affected 2.0.0 to before 5.131.1; 6.0.0 to before 6.20.1 Fixed in 5.131.1, 6.20.1 Patch available CNA
- dd-trace (npm) Vendor— Affected 2.0.0 to before 5.131.1 Fixed in 5.131.1 Patch available GHSA-x94g-w73q-hpcw
- dd-trace (npm) Vendor— Affected 6.0.0 to before 6.20.1 Fixed in 6.20.1 Patch available GHSA-x94g-w73q-hpcw
Remediation
Update dd-trace to 5.131.1 for the 5.x line or to 6.20.1 for the 6.x line. The sources list no vendor advisory identifier for this fix.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA dd-trace-js (DataDog) Fixed in 5.131.1, 6.20.1
- Fix · GHSA-x94g-w73q-hpcw dd-trace (npm) Fixed in 5.131.1 Advisory →
- Fix · GHSA-x94g-w73q-hpcw dd-trace (npm) Fixed in 6.20.1 Advisory →
Vendor assessments
Timeline
- 2026-10-27 Threatist record created from CVE-2026-116693
- 2026-10-27 Alias added: GHSA-x94g-w73q-hpcw
- 2026-10-28 Priority changed: MEDIUM → LOW
- 2026-10-30 CISA SSVC decision points changed
- 2026-10-30 Priority changed: LOW → MEDIUM
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
References
Other 7
- https://github.com/DataDog/dd-trace-js/security/advisories/GHSA-x94g-w73q-hpcw
- https://github.com/DataDog/dd-trace-js/pull/10675
- https://github.com/DataDog/dd-trace-js/commit/5eeee790c93036a50549056fc890028cb4c86b1b
- https://github.com/DataDog/dd-trace-js/commit/cf4e68a45fa1442c9850f2086c81901258e821b8
- https://github.com/DataDog/dd-trace-js/releases/tag/v5.131.1
- https://github.com/DataDog/dd-trace-js/releases/tag/v6.20.1
- https://github.com/DataDog/dd-trace-js
More DataDog vulnerabilities
- 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-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
- TI-2026-80928 Datadog dd-trace-py IAST flaw lets attackers crash Python processes CVSS 4.0HIGH 8.2
Sources
- CVE-2026-116693 · CVE Program
- CVE-2026-116693 · NVD
- FIRST EPSS
- GHSA-x94g-w73q-hpcw · GitHub Advisory Database · CC BY 4.0
- CVE-2026-116693 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences