HIGH 8.1

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)

ArtifactAffected versionsFixed 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

2affected artifacts
41affected versions
2dependent artifacts (est.)
152dependent versions

0% of the dependent artifacts (0) still pull an affected version in their latest release.

DepthDependent versions
Direct
152

Most used dependents

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