CVE-2026-139998React Router: Polynomial-time ReDoS in matchPath and matchRoutes trailing-slash handling
- 8.7HighCVSS base score
- 0.73%Exploitation in 30 daysEPSS · top 45% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
React Router is a router for React. From 6.0.0 until 7.18.3 and 8.3.1, react Router's regular-expression-based route matching can perform excessive work when processing specially crafted long paths. Declarative, Data, Framework, unstable RSC Data, and unstable RSC Framework applications can consume excessive CPU in the browser or server, depending on where matching occurs, causing denial of service. This issue is fixed in versions 7.18.3 and 8.3.1.
Timeline
ID reserved
By GitHub_M
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 4.0 | High8.7 | 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 |
| NVDNVD · Received | 4.0 | High8.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 0.73% · top 45% of all CVEs (1 Dec 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.7.
Affected products
- affected >= 6.0.0, < 7.18.3
- affected >= 8.0.0, < 8.3.1
References
References9
- https://github.com/remix-run/react-router/security/advisories/GHSA-x8j4-g9rr-8j87 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/remix-run/react-router/pull/15417 (opens in a new tab)x_refsource_MISC
- https://github.com/remix-run/react-router/pull/15423 (opens in a new tab)x_refsource_MISC
- https://github.com/remix-run/react-router/commit/308d206e9afe75f8ac20f1028fe93491302bbf8c (opens in a new tab)x_refsource_MISC
- https://github.com/remix-run/react-router/commit/6cc6f7a657e5808a510627ac6d9c0456ddeda9f0 (opens in a new tab)x_refsource_MISC
- https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v831 (opens in a new tab)x_refsource_MISC
- https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7183 (opens in a new tab)x_refsource_MISC
- https://github.com/remix-run/react-router/releases/tag/[email protected] (opens in a new tab)x_refsource_MISC
- https://github.com/remix-run/react-router/releases/tag/[email protected] (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-139696 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-139998)Record last updated .