CVE-2026-116693

dd-trace: ReDOS in URL query string obfuscation

Published Oct 27, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The dd‑trace‑js client for Node.js contains a regular‑expression‑denial‑of‑service flaw in the default obfuscation pattern for URL query strings. The pattern, activated whenever the package records HTTP URL data, can trigger excessive backtracking when a malicious query string is supplied, consuming disproportionate CPU cycles. As a result, the request handling thread stalls, HTTP responses are delayed or dropped, and the instrumented application can be rendered effectively unavailable for legitimate traffic. The weakness is a ReDOS bug identified as CWE‑1333.

Affected Systems

The vulnerability affects the DataDog dd‑trace‑js library from version 2.0.0 up to, but not including, 5.131.1 and 6.20.1. Versions 5.131.1 and 6.20.1 forward contain the fix and are therefore not susceptible. The affected product is the Node.js Datadog APM client, deployed in any Node.js application that imports or requires the dd‑trace module and uses its HTTP tracing features.

Risk and Exploitability

The flaw has a CVSS score of 8.7, indicating high severity. EPSS data is unavailable, and the vulnerability is not listed in the CISA KEV catalog, but its nature—synchronous CPU exhaustion via crafted HTTP requests—makes it likely to be exploitable by remote actors who can send malformed query strings to any exposed HTTP endpoint. Attack capitalizes on normal application traffic and does not require authentication, making it broadly usable. The absence of network‑layer restrictions means the attack vector is remote over HTTP/HTTPS, and the impact is immediate denial of service for the instrumented service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade dd‑trace‑js to version 5.131.1 or later, or 6.20.1 or later, which contain the regular expression fix.
  • If an upgrade cannot be performed immediately, override or disable the DD_TRACE_OBFUSCATION_QUERY_STRING_REGEXP setting by setting it to an empty string or a trivial pattern so that the regex engine does not perform backtracking on query strings.
  • Implement CPU utilization monitoring and set alerts for abnormal spikes to detect potential abuse while the patch is pending.

Generated by OpenCVE AI on October 27, 2026 at 22:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-x94g-w73q-hpcw dd-trace: ReDOS in URL query string obfuscation
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important

Type Values Removed Values Added
First Time appeared Datadog
Datadog dd-trace-js
Vendors & Products Datadog
Datadog dd-trace-js
Type Values Removed Values Added
Description 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.
Title dd-trace: ReDOS in URL query string obfuscation
Weaknesses CWE-1333
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 30, 2026, 7:25 PM
Reserved
Oct 26, 2026, 8:00 PM
Status
Deferred
Published
Oct 27, 2026, 9:18 PM
Modified
Oct 30, 2026, 8:17 PM
Severity
Important
Public date
Oct 27, 2026, 8:07 PM