[ CVE-2026-116693 · Published 27 Oct 2026 ]
dd-trace: ReDOS in URL query string obfuscation
CVSS 8.7
EPSS <1%Fix available
[ Description ]Official 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.
[ Fixes ]Fixes and patches
- dd-trace 5.131.1Fixed version · GitHub Advisories · npm package dd-trace: upgrade to 5.131.1 or later (affected >= 2.0.0, < 5.131.1)
- dd-trace 6.20.1Fixed version · GitHub Advisories · npm package dd-trace: upgrade to 6.20.1 or later (affected >= 6.0.0, < 6.20.1)
[ Packages ]Affected open-source packages
- dd-trace npmAffected >= 2.0.0, < 5.131.1 · fixed in 5.131.1 · GHSA-x94g-w73q-hpcw
- dd-trace npmAffected >= 6.0.0, < 6.20.1 · fixed in 6.20.1 · GHSA-x94g-w73q-hpcw
[ References ]References
- github.com/DataDog/dd-trace-js/commit/5eeee790c93036a50549056fc890028cb4c86b1b
- github.com/DataDog/dd-trace-js/commit/cf4e68a45fa1442c9850f2086c81901258e821b8
- github.com/DataDog/dd-trace-js/pull/10675
- github.com/DataDog/dd-trace-js/releases/tag/v5.131.1
- github.com/DataDog/dd-trace-js/releases/tag/v6.20.1
- github.com/DataDog/dd-trace-js/security/advisories/GHSA-x94g-w73q-hpcw