CVE-2026-42211

High

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.

SeverityHigh
CVSS8.1
Exploit probability—
ProductShopify React-router
PublishedJun 2, 2026
First seenJun 2, 2026

How to fix

Update
  • shopify react-router7.14.2 or later
  • react-router7.14.2 or later

Affected products

ProductAffected versionsFixed in
shopify react-router7.0.0 ≤ v < 7.14.27.14.2
react-routernpm7.0.0 ≤ v < 7.14.27.14.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.