A new high-severity vulnerability in React Router—tracked as CVE-2026-139995—can allow attackers to slow down or halt web applications remotely without needing to log in. The issue arises when servers use route discovery via React Router’s route manifest. Versions prior to 7.18.5 and 8.5.1 are at risk, and patches have already been issued. The GitHub advisory published the flaw on November 18, 2026, and listed its severity as 7.5 out of 10. The listing was added to GitHub’s reviewed advisories on December 1.
What triggers the flaw?
The vulnerability lies in how React Router expands route paths during server-side rendering. In configurations using “lazy route discovery,” route information is pulled in as requests arrive rather than upfront, which can be exploited. An attacker can craft requests that force the server to consume excessive CPU, memory, or other resources—enough to degrade performance or cause outages. Legitimate users may see timeouts or severely slowed response, even if the server doesn’t completely crash.
This isn’t about stealing data, hijacking sessions, or executing code—it’s a denial-of-service risk affecting service availability only. Previously disclosed flaws in React Router involved cache poisoning or serving incorrect responses; this vulnerability is entirely distinct.
Which deployments are affected?
Only certain setups are vulnerable. Applications must use the route manifest system, server-side rendering (SSR), and lazy route discovery together. Deployments that rely purely on client-side rendering aren’t affected. Also, experimental React Server Components (RSC) modes are at risk, since the flaw can trigger even during data-fetching sections of those builds.
The advisory specifies that React Router versions from 7.0.0 up to—but not including—7.18.5, and 8.0.0 up to—but not including—8.5.1, are affected. Knowing what’s installed in production is critical—just seeing the version declared in package.json may not be enough, since dependencies or build caching could mask the real runtime version.
How to patch and mitigate
Fixing this requires upgrading to React Router 7.18.5 (if on the 7.x branch) or 8.5.1 (if on the 8.x branch). After upgrading, the application should be rebuilt and redeployed to ensure the fixes take effect.
Prioritize patching applications exposed to the internet, especially those that use SSR and lazy route discovery. Internal services or apps without SSR may afford more time, but shouldn’t be left vulnerable.
React Router has already published an advisory and issued versions that resolve the issue. Affected teams should review the advisory, confirm their configuration, and apply updates as soon as possible.
This flaw underscores how even non-authenticated vectors—like lazy route expansion—can undermine availability. As more web frameworks push for dynamic routing and server-driven builds, guarding against denial-of-service risks in route handling is now essential. Developers should review their SSR and React Server Components configurations as part of standard security hygiene.