p PatchFirst

CVE-2026-42211

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.1 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • react-router

    Versions
    • >= 7.0.0, < 7.14.2: Affected

    No fix published

  • react-router npm

    Affected ranges
    • SEMVER: ≥ 7.0.0, < 7.14.2

    Update to 7.14.2

Original sources

Check your server →