CVE-2026-139998
8.7HighPublished Nov 30, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v4.010
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- High impact on availability
- Weakness
- CWE-400, CWE-1333
What an attacker gets
Remote attackers can trigger a denial of service by sending specially crafted long paths. This causes excessive CPU usage in the browser or on the server during route matching.
Root cause
The regular-expression-based route matching logic is vulnerable to catastrophic backtracking when processing long, malicious input strings.
Affected versions
React Router 6.0.0 through 7.18.2 and 8.0.0 through 8.3.0
CVSS v4.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/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
Fix & remediation
Upgrade to React Router version 7.18.3 or 8.3.1. If you cannot update immediately, implement rate limiting or request length validation at your edge proxy or WAF to block unusually long URL paths.
$ npm install react-router@latestAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
- 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/commit/308d206e9afe75f8ac20f1028fe93491302bbf8c
- https://github.com/remix-run/react-router/commit/6cc6f7a657e5808a510627ac6d9c0456ddeda9f0
- 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/releases/tag/react-router@7.18.3
- https://github.com/remix-run/react-router/releases/tag/react-router@8.3.1
- https://github.com/remix-run/react-router/security/advisories/GHSA-x8j4-g9rr-8j87
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1399967.4HighRemote attackers can trigger prototype pollution by sending crafted serialized data to the application. This can lead to unexpected application behavior or compromise of data integrity.
- CVE-2026-759388.8HighAttackers with code execution on a newly provisioned PowerVS worker can steal an IBM IAM bearer token embedded in user-data. This allows them to escalate privileges and manipulate all infrastructure managed by that API key.
- CVE-2026-1400169.1CriticalUnauthenticated remote attackers can crash the server or duplicate application messages. This requires no user interaction or authentication.
- CVE-2026-1400157.5HighUnauthenticated remote attackers can crash your service by exhausting memory. They only need to send a stream of bytes after a WebSocket close frame to trigger the leak.
- CVE-2026-1400117.5HighUnauthenticated remote attackers can trigger a denial of service via memory exhaustion. They do this by sending highly compressible WebSocket messages that bypass configured size limits.
- CVE-2026-1400108.7HighUnauthenticated attackers can trigger a denial-of-service by causing high CPU usage. They only need to send a specially crafted HTML payload to an application using the vulnerable minifier.