CVE-2026-40181
published medium CVSS 4.0 · 6.6React Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL reinterpretation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| remix-run | — | react-router>= 7.0.0, < 7.14.1 · >= 6.7.0, < 6.30.4 | Affected | Not stated | GitHub_M |
| remix-run | — | @remix-run/router>= 1.3.0, < 1.23.3 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | SLE-15-SP7 | golang-github-prometheus-prometheusaarch64 | Advisory build | 3.13.2-150100.4.40.2 | SUSE-SU-2026:4606-1 |
| SUSE / openSUSE | SLE-15-SP7 | golang-github-prometheus-prometheusppc64le | Advisory build | 3.13.2-150100.4.40.2 | SUSE-SU-2026:4606-1 |
| SUSE / openSUSE | SLE-15-SP7 | golang-github-prometheus-prometheuss390x | Advisory build | 3.13.2-150100.4.40.2 | SUSE-SU-2026:4606-1 |
| SUSE / openSUSE | SLE-15-SP7 | golang-github-prometheus-prometheusx86_64 | Advisory build | 3.13.2-150100.4.40.2 | SUSE-SU-2026:4606-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | agama-web-uinoarch | Advisory build | 17+673.b97ba64d6-160000.12.1 | OPENSUSE-SU-2026:21448-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.6 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| remix-run | react-router | >= 7.0.0, < 7.14.1 (affected)>= 6.7.0, < 6.30.4 (affected) | GitHub_M · cna |
| remix-run | @remix-run/router | >= 1.3.0, < 1.23.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-601 CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
References
1Provider assertions
2GitHub_M · cna
React Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL reinterpretation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 84e5861875a5fe0ce0d5472ee59417cd22155cdac5e7c1b4d72c9be022027751
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record