All vulnerabilities

npm

CVE-2026-116693

dd-trace: ReDOS in URL query string obfuscation

Severity
High
Published
27 Oct 2026
Last changed
27 Oct 2026
Added to UpHeron
23 Nov 2026
Fixed in
5.131.1, 6.20.1
Exploit chance
0.4% in the next 30 daysHigher than 39% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Regular expression denial of service (ReDoS) (CWE-1333)
Also known as
GHSA-x94g-w73q-hpcw
Sources
OSV.dev and GitHub

Description

A regular expression used to obfuscate URL query strings can consume excessive CPU when processing certain attacker-controlled input. This can stall request processing and cause denial of service in applications using affected HTTP tracing integrations.

The default query-string obfuscation pattern can exhibit excessive backtracking. The pattern is applied synchronously when recording HTTP URL metadata, allowing query-string processing to occupy application resources for an extended period.

As a workaround, set DD_TRACE_OBFUSCATION_QUERY_STRING_REGEXP to the fixed regex below, then restart the application.

Regular expression denial of service (ReDoS) affecting applications that process attacker-controlled URL query strings through the vulnerable obfuscation pattern. Successful exploitation can cause excessive CPU consumption, prolonged request latency, and service unavailability.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
dd-tracenpm · osv:npm:dd-trace
  • From 2.0.0 before 5.131.1
  • From 6.0.0 before 6.20.1

About dd-trace

Weekly downloads (npm)
15,306,668npm, 23 Nov 2026

This is the only vulnerability in dd-trace in our list.

References