CVE-2026-139998: React Router · Polynomial-time ReDoS in matchPath and matchRoutes trailing-slash handling
Affects react-routerSource GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 7.18.3 soon.
Data as of 1 Dec 2026, 19:00 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 8.7 |
|---|
- Patch
- Available – fixed in 7.18.3, 8.3.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade react-router to 7.18.3; react-router to 8.3.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmreact-router | Affected
| Fixed in
|
| npmreact-router | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
A vulnerability in React Router’s route matching may cause excessive CPU consumption when processing specially crafted paths, potentially resulting in denial of service. **Affected Modes:** Declarative, Data, Framework, RSC Data (unstable), and RSC Framework (unstable). Impact may occur in the browser or on the server, depending on where route matching runs.
References
- github.com/remix-run/react-router/security/advisories/GHSA-x8j4-g9rr-8j87 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-139998 (opens in a new tab)
- github.com/remix-run/react-router/pull/15417 (opens in a new tab)
- github.com/remix-run/react-router/pull/15423 (opens in a new tab)
- github.com/remix-run/react-router/commit/308d206e9afe75f8ac20f1028fe93491302bbf8c (opens in a new tab)
- github.com/remix-run/react-router/commit/6cc6f7a657e5808a510627ac6d9c0456ddeda9f0 (opens in a new tab)
- github.com/remix-run/react-router (opens in a new tab)
- github.com/remix-run/react-router/blob/main/CHANGELOG.md (opens in a new tab)
- github.com/remix-run/react-router/blob/v7/CHANGELOG.md (opens in a new tab)
- github.com/remix-run/react-router/releases/tag/react-router@7.18.3 (opens in a new tab)
- github.com/remix-run/react-router/releases/tag/react-router@8.3.1 (opens in a new tab)