Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › JavaScript

News High CVE Analysis

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 devicesVulnerabilities

Key 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

  1. Upgrade React Router to version 7.18.5 or 8.5.1 depending on your major version track.
  2. Review whether your deployment uses Framework Mode with lazy route discovery and SSR, or either RSC mode, and prioritize patching those instances.
  3. Monitor server resource usage for unusual spikes tied to route-discovery or RSC data requests until patched.

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

Cybersecurity Newscybersecuritynews.com

“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

More on this topic