CVE-2026-139998: React Router: Polynomial-time ReDoS in matchPath and matchRoutes trailing-slash handling
Vulnerability summary
CVE-2026-139998 is a high (CVSS 8.7) Uncontrolled Resource Consumption vulnerability in remix-run react-router. EPSS estimates a 0.75% chance of exploitation in the next 30 days, higher than 56.2% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 30-11-2026PublishedVulnerability first disclosed.
- 03-12-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- NVDNIST8.7HighCVSS: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
- OSV · NpmEcosystem advisory · calculated8.7HighCVSS: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 · WolfiEcosystem advisory · calculated8.7HighCVSS: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 · ChainguardEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS trend
Probability
0.75%
Chance of exploitation in the next 30 days
Percentile
56%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (tenable.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-1333Inefficient Regular Expression ComplexityThe product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard2 products
- airflow-2All versions (No fix recorded)
- vitess-24All versions (No fix recorded) | < 24.0.5-r16
Npm1 product
- react-router≥ 6.0.0, < 7.18.3 | ≥ 8.0.0, < 8.3.1
Remix-run1 product
- react-router≥ 6.0.0, < 7.18.3 | ≥ 8.0.0, < 8.3.1
Wolfi1 product
- vitess-24All versions (No fix recorded) | < 24.0.5-r16
4 vendors · 5 products
References
13 links- github.com/remix-run/react-router/security/advisories/GHSA-x8j4-g9rr-8j87X Refsource CONFIRMWEBAdvisory
- github.com/remix-run/react-router/commit/308d206e9afe75f8ac20f1028fe93491302bbf8cX Refsource MISCWEBFIX
- github.com/remix-run/react-router/commit/6cc6f7a657e5808a510627ac6d9c0456ddeda9f0X Refsource MISCWEBFIX