Read the docs

ReDoS in dd-trace URL query string obfuscation

Priority MEDIUM 44CWE-1333Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00449 39th percentileScored 2026-11-07
Fix Fixed dd-trace-js (DataDog): 5.131.1, 6.20.1dd-trace (npm): 5.131.1, 6.20.1

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-js2.0.0 to before 5.131.1; 6.0.0 to before 6.20.15.131.1, 6.20.1Patch availableCNA
—dd-trace (npm)2.0.0 to before 5.131.15.131.1Patch availableGHSA-x94g-w73q-hpcw
—dd-trace (npm)6.0.0 to before 6.20.16.20.1Patch availableGHSA-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

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-27 Threatist record created from CVE-2026-116693
  2. 2026-10-27 Alias added: GHSA-x94g-w73q-hpcw
  3. 2026-10-28 Priority changed: MEDIUM → LOW
  4. 2026-10-30 CISA SSVC decision points changed
  5. 2026-10-30 Priority changed: LOW → MEDIUM
  6. 2026-11-06 Affected versions changed · Red Hat
  7. 2026-11-06 CVSS score added · Red Hat

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-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
See all 28 →

Sources