CVE-2026-34077: React Router vulnerable to Denial of Service via reflected user input in single-fetch
A DoS vulnerability exists in the React Router v7 Framework Mode, as well as Remix v2.9.0+ with 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 (<BrowserRouter>) or Data Mode (createBrowserRouter/<RouterProvider>).
Other sources
React Router is a router for React. In versions 7.7.0 through 7.13.1, when using React Router's unstable React Server Components (RSC) APIs, there is a potential client-side Cross-Site Scripting (XSS) vulnerability in the RSC redirect handling if redirects come from untrusted sources. This does not impact applications that are not using the unstable RSC APIs in React Router. This is patched in version 7.13.2.
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
npm/turbo-streamto a version that resolves this vulnerability.Fixed in 3.0.0 - Upgrade
Upgrade
npm/react-routerto a version that resolves this vulnerability.Fixed in 7.14.0 - Upgrade
Upgrade
React Routerto a version that resolves this vulnerability.Fixed in 7.14.0 - Upgrade
Upgrade
React Routerto a version that resolves this vulnerability.Fixed in 7.13.2
Event History
Frequently Asked Questions
What is the severity of CVE-2026-34077?
The severity of CVE-2026-34077 is classified as high with a score of 7.5.
How do I fix CVE-2026-34077?
To fix CVE-2026-34077, upgrade your React Router to version 7.13.2 or later.
What types of attacks can CVE-2026-34077 facilitate?
CVE-2026-34077 can facilitate Denial of Service attacks through reflected user input in single-fetch scenarios.
Which versions of React Router are affected by CVE-2026-34077?
CVE-2026-34077 affects React Router versions from 7.7.0 to 7.13.1.
Is user input from untrusted sources a risk factor for CVE-2026-34077?
Yes, untrusted sources of user input significantly increase the risk associated with CVE-2026-34077.