CVE-2026-139998
HIGH 8.7CVSS 4.0React Router: Polynomial-time ReDoS in matchPath and matchRoutes trailing-slash handling
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.
- Published
- 30 Nov 2026
- Last modified
- 3 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-1333CWE-400
- Also known as
- GHSA-x8j4-g9rr-8j87
- Sources
- NVDJSONCVE ListJSONOSV GHSA-x8j4-g9rr-8j87JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.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 |
| CVE List | GitHub_M | CVSS 4.0 | HIGH 8.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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | remix-run | react-router | = >= 6.0.0, < 7.18.3; = >= 8.0.0, < 8.3.1 | |
| OSV | npm | react-router | >= 6.0.0, < 7.18.3 | 7.18.3 |
| OSV | npm | react-router | >= 8.0.0, < 8.3.1 | 8.3.1 |
References
- https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v831 · x_refsource_MISC, WEB
- https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7183 · x_refsource_MISC, WEB
- https://github.com/remix-run/react-router/commit/308d206e9afe75f8ac20f1028fe93491302bbf8c · x_refsource_MISC, WEB
- https://github.com/remix-run/react-router/commit/6cc6f7a657e5808a510627ac6d9c0456ddeda9f0 · x_refsource_MISC, WEB
- https://github.com/remix-run/react-router/pull/15417 · x_refsource_MISC, WEB
- https://github.com/remix-run/react-router/pull/15423 · x_refsource_MISC, WEB
- https://github.com/remix-run/react-router/releases/tag/react-router@7.18.3 · x_refsource_MISC, WEB
- https://github.com/remix-run/react-router/releases/tag/react-router@8.3.1 · x_refsource_MISC, WEB
- https://github.com/remix-run/react-router/security/advisories/GHSA-x8j4-g9rr-8j87 · x_refsource_CONFIRM, WEB
- https://www.tenable.com/cve/CVE-2026-139998 · exploit
- https://nvd.nist.gov/vuln/detail/CVE-2026-139998 · ADVISORY
- https://github.com/remix-run/react-router · PACKAGE
History
- 3 Dec 2026 17:56 UTC · NVD: 1 reference added
- 3 Dec 2026 15:56 UTC · CVE List: 1 reference added
- 1 Dec 2026 19:30 UTC · OSV: first stored (published 1 Dec 2026)
- 30 Nov 2026 22:30 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 21:25 UTC · CVE List: first stored (published 30 Nov 2026)