Live threats

All CVEs / Shopify

CVE-2026-40181Shopify React-router

Medium 6.6 No auth needed

Priority
55
CVSS 4.0
6.6
EPSS
—
Auth required
No
Published
Jun 2, 2026
Updated
Aug 4, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-601
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

React Router is a router for React. In versions 7.0.0 through 7.14.0 and 6.7.0 through 6.30.3, certain URLs passed to the redirect function can trigger an open redirect to an external domain due to path values starting with // being reinterpreted as protocol-relative URLs. The level of impact depends on the validation done by the application prior to returning the redirect. This does not impact applications using Declarative Mode (<BrowserRouter>). This is patched in versions 7.14.1 and 6.30.4.

Original NVD text.

What to do

  1. Apply the vendor's security update for React-router.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @remix-run/router ≥ 1.3.0 < 1.23.3 1.23.3 npm install @remix-run/router@1.23.3
npm react-router ≥ 7.0.0 < 7.14.1 7.14.1 npm install react-router@7.14.1
npm react-router ≥ 6.7.0 < 6.30.4 6.30.4 npm install react-router@6.30.4

Per OSV / GitHub Advisories (GHSA-2j2x-hqr9-3h42). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
shopifyreact-router≥ 6.7.0 < 6.30.4
shopifyreact-router≥ 7.0.0 < 7.14.1

Official advisories

Also: SUSE (+1)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.