React Router: Polynomial-time ReDoS in matchPath and matchRoutes trailing-slash handling
Summary
| CVE | CVE-2026-139998 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 22:17:29 UTC |
| Updated | 2026-11-30 22:17:29 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 8.7 HIGH from [email protected]
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
Problem Types: CWE-400 | CWE-1333 | CWE-400 CWE-400: Uncontrolled Resource Consumption | CWE-1333 CWE-1333: Inefficient Regular Expression Complexity
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 8.7 | HIGH | 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/C... |
| 4.0 | CNA | DECLARED | 8.7 | HIGH | 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 v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
NonePrivileges Required
NoneUser Interaction
NoneConfidentiality
NoneIntegrity
NoneAvailability
HighSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Remix-run | React-router | affected >= 6.0.0, < 7.18.3 | Not specified |
| CNA | Remix-run | React-router | affected >= 8.0.0, < 8.3.1 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/remix-run/react-router/pull/15423 | [email protected] | github.com | |
| github.com/remix-run/react-router/security/advisories/GHSA-x8j4-g9rr-8j87 | [email protected] | github.com | |
| github.com/remix-run/react-router/commit/6cc6f7a657e5808a510627ac6d9c045... | [email protected] | github.com | |
| github.com/remix-run/react-router/blob/main/CHANGELOG.md | [email protected] | github.com | |
| github.com/remix-run/react-router/pull/15417 | [email protected] | github.com | |
| github.com/remix-run/react-router/releases/tag/[email protected] | [email protected] | github.com | |
| github.com/remix-run/react-router/commit/308d206e9afe75f8ac20f1028fe9349... | [email protected] | github.com | |
| github.com/remix-run/react-router/blob/v7/CHANGELOG.md | [email protected] | github.com | |
| github.com/remix-run/react-router/releases/tag/[email protected] | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.