CVE-2026-42211
React Router's vendored turbo-stream v2 allows arbitrary constructor invocation via TYPE_ERROR deserialization leading to Unauth RCE
Description
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>).
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm » react-routervia npm react-router | >= 7.0.0, < 7.14.2 | 7.14.2 |
| org.webjars » react-routervia npm react-router | >= 7.0.0, < 7.14.2 | 7.14.2 |
| org.webjars.npm » react-routervia npm react-router | >= 7.0.0, < 7.14.2 | 7.14.2 |
Blast radius
0% of the dependent artifacts (0) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 152 |
Most used dependents
- org.mvnpm » react-router-dom19 usages
- org.mvnpm » zudoku0 usages
Computed from the dependency graph of build 20261129.2353 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2026-42211 | nvd.nist.gov |
| Package | remix-run/react-router | github.com |
| Web | remix-run/react-router advisory GHSA-49rj-9fvp-4h2h | github.com |
