CVE-2026-116693

dd-trace: ReDOS in URL query string obfuscation

High published · updated · also known as GHSA-X94G-W73Q-HPCW

8.7
CVSS score out of 10 · NVD (github.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
dd-trace npm >= 2.0.0, < 5.131.15.131.1 GitHub
dd-trace npm >= 6.0.0, < 6.20.16.20.1 GitHub

References