Packages / react-router / Security

HighVulnerabilityGHSA-8x6r-g9mw-2r78CVE-2026-42342Published 3 Jun 2026

React Router vulnerable to DoS via unbounded path expansion in __manifest endpoint

Affected releases · react-router

  • 7.x7.0.0 – 7.14.2Fixed in 7.15.0

On 7.x, the newest line:

npm install react-router@7.15.0
8.x
  1. Not affected

    8.0.0 – 8.5.0

    8 releases, latest

7.x
  1. Affected

    7.0.0 – 7.14.2

    43 releases

  2. Fixed

    7.15.0 – 7.18.4

    9 releases

228 stable releases of react-router, oldest to newest, one row per major.

Is your project affected?

Paste your package.json, or type the range you declare for react-router. It is read in your browser and sent nowhere.

What happens

There exists a potential DOS attack vector in React Router Framework Mode applications (as well as Remix v2.10.0 - 2.17.4). Certain requests can be crafted to consume disproportionate resources on the server, resulting in response time degredation and/or service unavailability for end users.

[!NOTE] This does not impact your React Router application if you are using Declarative Mode (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>).