Elevated
React Router route matching overload can stall services
CVE-2026-139998 and 2 more
A web page routing library; crafted long links can freeze sites.
- CVE
- CVE-2026-139998 and 2 more
- Score
- CVSS 8.7 · CVE-2026-139998
- First seen
8.7
Products
Disclosed together React Router
Mitigation
Update React Router 7 line to 7.18.3 and the 8 line to 8.3.1.
Update to at least the version for your product:
- React Router 7 7.18.3 or later
- React Router 8 8.3.1 or later
Summary
React Router's route matching can use excessive CPU on specially crafted long paths, causing a denial of service; versions from 6.0.0 to before 7.18.3 and 8.0.0 to before 8.3.1 are affected. The same release also fixes an open redirect and a CSRF bypass.
Affected when
- CVE-2026-139998 route matching in use (Declarative, Data, Framework, RSC modes)
- CVE-2026-139997 from 6.4.0, untrusted values used as redirect targets (Data, Framework, RSC modes)
- CVE-2026-139999 from 7.12.0, Framework or RSC modes, server-side actions used, depends on deployment and auth cookie setup
Incidents by product: react-router
Other recent Incidents of react-router
3 CVEs (every link below opens in a new tab)
Read the advisory · github.com (opens in a new tab)
Each of the 3 CVEs (every link below opens in a new tab)
- CVE-2026-139998Crafted long paths can make route matching use so much CPU that the service stalls. CVSS 8.7 CVE-2026-139998 advisory
- CVE-2026-139999Can make logged-in users perform unwanted actions on the site. CVSS 6.0 CVE-2026-139999 advisory
- CVE-2026-139997Can send users to attacker websites for phishing. CVSS 5.3 CVE-2026-139997 advisory
- Write-up: tenable.com (opens in a new tab)