CVE-2026-42211
JSON

8.1high

React Router's vendored turbo-stream v2 allows arbitrary constructor invocation via TYPE_ERROR deserialization leading to Unauth RCE

Severity
8.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.42% (higher than 37% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-49rj-9fvp-4h2h

Description

React Router is a router for React. In versions 7.0.0 through 7.14.1, when using Framework Mode, a combination of steps could potentially allow unauthorized remote code execution (RCE) through external requests. This attack requires the application code to have an existing prototype pollution vulnerability, which can then be leveraged in a 2-step attack where the second step triggers unauthorized RCE on the remote server. This does not impact applications using Declarative Mode (`<BrowserRouter>`) or Data Mode (`createBrowserRouter/<RouterProvider>`). This is patched in version 7.14.2.

Affected

Product or packageVersionsReported by
remix-run react-router>= 7.0.0, < 7.14.2CVE List
react-router (npm)from 7.0.0 before 7.14.2GitHub Advisory Database
shopify react-routerfrom 7.0.0 before 7.14.2NVD

All scores

GitHub_M8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

React Router is a router for React. In versions 7.0.0 through 7.14.1, when using Framework Mode, a combination of steps could potentially allow unauthorized remote code execution (RCE) through external requests. This attack requires the application code to have an existing prototype pollution vulnerability, which can then be leveraged in a 2-step attack where the second step triggers unauthorized RCE on the remote server. This does not impact applications using Declarative Mode (`<BrowserRouter>`) or Data Mode (`createBrowserRouter/<RouterProvider>`). This is patched in version 7.14.2.

GitHub Advisory Database

When using React Router v7 in Framework Mode, there exists a combination of steps that could potentially allow unauthorized RCE through external requests. This first requires the application code to have an existing prototype pollution vulnerability. This can be leveraged into a 2-step attack in which the second step can trigger unauthorized RCE on the remote server.

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

NVD (es)

React Router es un router para React. En las versiones 7.0.0 a 7.14.1, al usar el Framework Mode, una combinación de pasos podría potencialmente permitir la ejecución remota de código (RCE) no autorizada a través de solicitudes externas. Este ataque requiere que el código de la aplicación tenga una vulnerabilidad de contaminación de prototipos existente, la cual puede ser aprovechada en un ataque de 2 pasos donde el segundo paso desencadena RCE no autorizada en el servidor remoto. Esto no tiene impacto en aplicaciones que usan Declarative Mode (' BrowserRouter ') o Data Mode ('createBrowserRouter/ RouterProvider '). Esto está parcheado en la versión 7.14.2.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42211 changed 2026-06-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-49rj-9fvp-4h2h changed 2026-09-10CC-BY-4.0
NVDCVE-2026-42211 changed 2026-07-21Public domain