Home › News › JavaScript
React Router Flaw Allows Unauthenticated DoS via Route Discovery
A high-severity vulnerability in React Router, CVE-2026-139995, lets remote attackers overload affected web apps without authentication. Maintainers have released fixed versions 7.18.5 and 8.5.1.
JavaScriptReactWebNetwork devicesVulnerabilitiesKey points
- CVE-2026-139995 is a high-severity, unauthenticated DoS flaw in React Router.
- Exploitation can overload server resources via server-side route discovery during SSR.
- Affected modes: Framework (with lazy route discovery and SSR), RSC Data (unstable), and RSC Framework (unstable).
- Fixed in React Router versions 7.18.5 and 8.5.1.
A newly disclosed vulnerability in React Router, tracked as CVE-2026-139995, could allow unauthenticated attackers to degrade or crash vulnerable web applications remotely, according to Cybersecurity News.
The flaw stems from how certain configurations handle server-side route discovery. Per the GitHub Security Advisory (GHSA-2rq8-3rm6-2w8f), apps performing server-side route discovery can be forced to consume excessive server resources when processing specially crafted requests, leading to denial of service.
Who is affected
The advisory identifies three affected modes:
- Framework Mode — exposure requires server-side rendering (SSR) with lazy route discovery enabled.
- RSC Data Mode (unstable)
- RSC Framework Mode (unstable) — in these modes, the issue can also be triggered when handling RSC data requests.
Applications not using these specific configurations are reportedly not exposed to this issue, though the sources do not detail every exclusion.
Fix
React Router maintainers have patched the issue in versions 7.18.5 and 8.5.1. No workaround beyond upgrading is mentioned in the sources.
Why it matters
Because the attack requires no authentication, any internet-facing application using an affected configuration could be targeted simply by sending crafted requests, potentially slowing or stopping the service for legitimate users.
What to do
- Upgrade React Router to version 7.18.5 or 8.5.1 depending on your major version track.
- Review whether your deployment uses Framework Mode with lazy route discovery and SSR, or either RSC mode, and prioritize patching those instances.
- Monitor server resource usage for unusual spikes tied to route-discovery or RSC data requests until patched.
Original report
“React Router Security Flaw Could Let Hackers Crash Web Applications Without Login”
A high-severity flaw in React Router could let remote attackers make vulnerable web applications slow down or stop responding without logging in. The flaw, tracked as CVE-2026-139995, affects certain applications that use the npm package to discover routes on the server. Maintainers fixed the issue in React Router 7.18.5 and 8.5.1. The React Router project […]
Vulnerabilities mentioned
- React Router Denial of Service via Uncontrolled Route Discovery Path Expansion
- CVE-2026-139998 — remix-run react-router
- Prototype Pollution Vulnerability in React Router Versions 7.0.0–7.18.5 and 8.0.0–8.5.1
- Nextgen Mirth Connect, BridgeLink and Open Integration Engine: default and weak credential flaw (CVE-2026-128050)
- Nextgen Healthcare Mirth Connect BridgeLink Credential Weakness Covering Default, Weak and Insufficiently Protected Credentials (CVE-2026-128061)