# CVE-2026-116693: dd-trace: ReDOS in URL query string obfuscation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.7
- **CVSS:** 8.7 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.58% (percentile 41, 2026-11-28)
- **CWE:** CWE-1333
- **Aliases:** GHSA-x94g-w73q-hpcw
- **Published:** 2026-10-27T20:07:01.195Z
- **Modified:** 2026-10-30T20:17:05.607Z

## Who should check

- Projects that depend on npm package dd-trace (\>= 2.0.0, \< 5.131.1)
- Anyone running DataDog dd-trace-js \>= 2.0.0, \< 5.131.1; \>= 6.0.0, \< 6.20.1

## 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 and fixed versions

- npm `dd-trace`: affected \>= 2.0.0, \< 5.131.1; fixed 5.131.1, 6.20.1 (osv)
- DataDog dd-trace-js: \>= 2.0.0, \< 5.131.1; \>= 6.0.0, \< 6.20.1 (cvelist)

## Mitigation

- Upgrade dd-trace to one of 5.131.1, 6.20.1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-116693. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-116693.md
Affected: dd-trace >= 2.0.0, < 5.131.1
Fixed in: 5.131.1, 6.20.1

Steps:
1. Search this machine and project for dd-trace (npm), DataDog dd-trace-js: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-116693 being exploited?

There is no confirmed exploitation: CVE-2026-116693 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.58% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-116693?

High: CVSS 8.7 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-116693?

dd-trace \>= 2.0.0, \< 5.131.1.

### Is there a fix for CVE-2026-116693?

Yes. Fixed in 5.131.1, 6.20.1. Upgrade dd-trace to one of 5.131.1, 6.20.1 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-116693?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/DataDog/dd-trace-js/security/advisories/GHSA-x94g-w73q-hpcw>
- patch: <https://github.com/DataDog/dd-trace-js/pull/10675>
- patch: <https://github.com/DataDog/dd-trace-js/commit/5eeee790c93036a50549056fc890028cb4c86b1b>
- patch: <https://github.com/DataDog/dd-trace-js/commit/cf4e68a45fa1442c9850f2086c81901258e821b8>
- other: <https://github.com/DataDog/dd-trace-js/releases/tag/v5.131.1>
- other: <https://github.com/DataDog/dd-trace-js/releases/tag/v6.20.1>
- other: <https://github.com/DataDog/dd-trace-js>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-116693>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-x94g-w73q-hpcw> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-116693> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-116693>
