React Router Security Flaw Could Let Hackers Crash Web Applications Without Login

Blog WriterCybersecurity News - Original News Source is cybersecuritynews.com


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 published its advisory on November 18, 2026. GitHub added the flaw to its reviewed advisory database on December 1 and gave it a severity score of 7.5 out of 10.

The flaw can be triggered over the network without an account or any action by a legitimate user. The advisory describes a risk to service availability, not a way to steal data, change records, or run code on the server.

React Router uses a route manifest, or a list of routes and related information, to help an application handle requests. Lazy route discovery lets the application load route information as needed rather than sending the full list up front.

React Router Security Flaw

The flaw lies in how React Router expands route paths while preparing a page on the server. Without a firm limit on that work, a specially crafted request can cause the application to use too many server resources.

That can lead to a denial of service, which means legitimate users may face slow pages, timeouts, or an app that does not respond. The server does not have to crash for the flaw to cause an outage.

It only has to become too busy to serve normal requests reliably. This differs from earlier React Router cache poisoning flaws, which could cause a cache to keep serving a bad response.

The GitHub advisory lists React Router 7.0.0 up to, but not including, 7.18.5, and 8.0.0 up to, but not including, 8.5.1. The version alone does not tell teams whether an application is exposed.

In Framework Mode, the app must use both server-side rendering, where the server builds the page, and lazy route discovery. The advisory does not list browser-only deployments as affected.

The flaw also affects experimental React Server Components (RSC) modes, where vulnerable processing can occur during data requests, making page-rendering checks insufficient. It is separate from the previously reported Next.js RSC denial-of-service flaw, which affected different npm packages.

Teams should check which react-router version is installed in production, not just the version range declared in package.json. Upgrade to 7.18.5 or later on the 7.x branch, or 8.5.1 or later on the 8.x branch.

Rebuild and redeploy the application, then confirm the running build contains the fixed version. Teams deciding what to patch first should start with internet-facing deployments that use an affected configuration.

Provide SOC With the Latest Threat Context from 16K Sources to Quickly Stop Incidents

The post React Router Security Flaw Could Let Hackers Crash Web Applications Without Login appeared first on Cyber Security News.