CVE-2026-42211Shopify React-router
High 8.1 No auth needed
Follow: this CVE · Shopify · Shopify React-router We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.1
- EPSS
- —
- Auth required
- No
- Published
- Jun 2, 2026
- Updated
- Jul 21, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for React-router.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | react-router |
≥ 7.0.0 < 7.14.2 |
7.14.2 |
npm install react-router@7.14.2 |
Per OSV / GitHub Advisories (GHSA-49rj-9fvp-4h2h). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| shopify | react-router | ≥ 7.0.0 < 7.14.2 |
Official advisories
- Security update 5.1.6 for Multi-Linux Manager Server · SUSE · SUSE-SU-2026:5436-1 · Nov 25, 2026 Critical
- Security update for golang-github-prometheus-prometheus · SUSE · SUSE-SU-2026:4606-1 · Oct 9, 2026 Critical
- Security update 5.2.1 for Multi-Linux Manager Client Tools · SUSE · SUSE-SU-2026:4585-1 · Oct 8, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:29770 · Jun 27, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory