CVE-2026-40181Shopify React-router
Medium 6.6 No auth needed
Follow: this CVE · Shopify · Shopify React-router We alert you by email or Slack (account required).
- 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.
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 | @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)
| Vendor | Product | Versions |
|---|---|---|
| shopify | react-router | ≥ 6.7.0 < 6.30.4 |
| shopify | react-router | ≥ 7.0.0 < 7.14.1 |
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
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.
- github.com Vendor Advisory