GHSA-rxv8-25v2-qmq8
React Router vulnerable to Denial of Service via reflected user input in single-fetch
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | react-router | >= 7.0.0, < 7.14.0 | 7.14.0 |
| npm | turbo-stream | < 3.0.0 | 3.0.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
A DoS vulnerability exists in the React Router v7 [Framework Mode](https://reactrouter.com/start/modes#framework), as well as Remix v2.9.0+ with [Single Fetch](https://v2.remix.run/docs/guides/single-fetch) enabled. In some scenarios the underlying serialization algorithm can become a bottleneck when encoding specific types of data into server responses. Please upgrade to React Router v7.14.0 or later.
> [!NOTE]
> This does not impact your React Router application if you are using [Declarative Mode](https://reactrouter.com/start/modes#declarative) (`<BrowserRouter>`) or [Data Mode](https://reactrouter.com/start/modes#data) (`createBrowserRouter`/`<RouterProvider>`).
References
External links from the advisory. They lead to third-party sites.
- https://github.com/remix-run/react-router/security/advisories/GHSA-rxv8-25v2-qmq8
- https://nvd.nist.gov/vuln/detail/CVE-2026-34077
- https://github.com/remix-run/react-router/commit/59811921d3c7d599077b8cadccdcd65a233165e0
- https://github.com/jacob-ebey/turbo-stream/blob/v2.4.1/src/flatten.ts#L175-L177
- https://github.com/jacob-ebey/turbo-stream/blob/v2.4.1/src/unflatten.ts#L185-L189
- https://github.com/remix-run/react-router