Polynomial-time ReDoS in React Router route matching
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-1333.
Summary
React Router from 6.0.0 before 7.18.3 and from 8.0.0 before 8.3.1 is affected. Its regular-expression-based route matching can perform excessive work when it processes specially crafted long paths, which is an inefficient regular expression issue (CWE-1333). An unauthenticated remote attacker can send such paths to make Declarative, Data, Framework, and RSC applications consume excessive CPU in the browser or on the server, causing denial of service.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade react-router to 7.18.3 or 8.3.1, which fix the issue. Applications on 6.x must move to a fixed 7.x or 8.x release, since the sources list no fixed 6.x version.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA react-router (remix-run) Fixed in 7.18.3, 8.3.1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139998
References
Other 9
- https://github.com/remix-run/react-router/security/advisories/GHSA-x8j4-g9rr-8j87
- https://github.com/remix-run/react-router/pull/15417
- https://github.com/remix-run/react-router/pull/15423
- https://github.com/remix-run/react-router/commit/308d206e9afe75f8ac20f1028fe93491302bbf8c
- https://github.com/remix-run/react-router/commit/6cc6f7a657e5808a510627ac6d9c0456ddeda9f0
- https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v831
- https://github.com/remix-run/react-router/blob/v7/CHANGELOG.md#v7183
- https://github.com/remix-run/react-router/releases/tag/[email protected]
- https://github.com/remix-run/react-router/releases/tag/[email protected]
More remix-run vulnerabilities
- TI-2025-28449 React Router allows pre-render data spoofing on React-Router framework mode CVSS 3.1HIGH 8.2
- TI-2025-28448 React Router allows a DoS via cache poisoning by forcing SPA mode CVSS 3.1HIGH 7.5
- TI-2026-101194 Prototype pollution in React Router turbo-stream deserializer CVSS 3.1HIGH 7.4
- TI-2025-38117 React Router has Path Traversal in File Session Storage CVSS 3.1CRITICAL 9.1
- TI-2025-33550 Job Iteration API is vulnerable to OS Command Injection attack through its CsvEnumerator class CVSS 4.0HIGH 8.1
- TI-2026-40200 React Router: Unauthenticated Denial of Service via Inefficient Route Matching CVSS 4.0HIGH 8.7
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences