CVE-2026-40181 json
React Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL reinterpretation
published 2026-06-02 5 mo ago modified 2026-09-10 1 mo ago also EUVD-2026-33996 , GHSA-2j2x-hqr9-3h42
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm react-router 6.30.4, 7.14.1
- npm @remix-run/router 1.23.3
- shopify react-router 6.30.4, 7.14.1
- shopify remix-run/router 1.23.3
- golang-github-prometheus-prometheus SLE Module for Package Hub 15 SP7 3.13.2-150100.4.40.2
- grafana Multi Linux Manager Tools SLE-15 12.4.10-150002.4.27.1
- mgr-push Multi Linux Manager Tools SLE-15 5.2.5-150002.3.12.1
- spacecmd Multi Linux Manager Tools SLE-15 5.2.10-150002.3.15.1
- uyuni-tools Multi Linux Manager Tools SLE-Micro-5, Multi Linux Manager Tools SLE-15 5.2.17-150002.3.20.1
- venv-salt-minion Multi Linux Manager Tools SLE-Micro-5, Multi Linux Manager Tools SLE-15 3006.0-150002.5.22.1
- spacewalk-client-tools Multi Linux Manager Tools SLE-15 5.2.7-150002.3.12.1
- golang-github-prometheus-prometheus Multi Linux Manager Tools SLE-15 3.13.2-150002.3.19.1
suse advisories SUSE-SU-2026:4606-1SUSE-SU-2026:4585-1
- agama-web-ui openSUSE Leap 16.0 17+673.b97ba64d6-160000.12.1
opensuse advisories openSUSE-SU-2026:21448-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-40181 updated cvss 5.4
react-router: React Router: Open redirect vulnerability via specially crafted URLs
-
Red Hat Cryostat 4 react-router, grafana-infinity-datasource-npm, cryostat-openshift-console-plugin-npm Red Hat Exploit Intelligence exploit-intelligence-tech-preview/agent-client-rhel9 Red Hat Gatekeeper 3 gatekeeper/gatekeeper-rhel9 Red Hat Migration Toolkit for Applications 8 mta/mta-ui-rhel8, mta/mta-ui-rhel9 Red Hat Migration Toolkit for Containers rhmtc/openshift-migration-ui-rhel8 Red Hat Migration Toolkit for Virtualization mtv-candidate/mtv-console-plugin-rhel9, migration-toolkit-virtualization/mtv-console-plugin-rhel9affected: workaround, no fix available “Fix deferred”
+34 more productsfewer
Red Hat Multicluster Engine for Kubernetes multicluster-engine/console-mce-rhel9 Red Hat Network Observability Operator network-observability/network-observability-console-plugin-rhel9, network-observability/network-observability-console-plugin-compat-rhel9 Red Hat Node HealthCheck Operator workload-availability/node-healthcheck-rhel9-operator, workload-availability/node-healthcheck-operator-bundle, workload-availability/node-healthcheck-must-gather-rhel9 Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-console-plugin-rhel9, openshift-lightspeed/lightspeed-console-plugin-419-rhel9, openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9 Red Hat OpenShift Pipelines openshift-pipelines/pipelines-hub-ui-rhel8, openshift-pipelines/pipelines-hub-ui-rhel9, openshift-pipelines/pipelines-console-plugin-rhel8, openshift-pipelines/pipelines-console-plugin-rhel9, openshift-pipelines/pipelines-console-plugin-pf5-rhel9 Red Hat OpenShift Service Mesh 2 openshift-service-mesh/kiali-rhel8, openshift-service-mesh/kiali-ossmc-rhel8 Red Hat OpenShift Service Mesh 3 openshift-service-mesh/kiali-rhel9, openshift-service-mesh/kiali-ossmc-rhel9, openshift-service-mesh/kiali-rhel9-operator, openshift-service-mesh/kiali-operator-bundle Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/console-rhel9, redhat-user-workloads/crt-redhat-acm-tenant/console-acm-213, redhat-user-workloads/crt-redhat-acm-tenant/release-acm-211/console-acm-211, redhat-user-workloads/crt-redhat-acm-tenant/release-acm-212/console-acm-212 Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8 Red Hat AMQ Broker 7 react-router Red Hat Ansible Automation Platform 2 automation-hub, python-galaxy-ng, automation-gateway, python3x-galaxy-ng, python3.11-galaxy-ng, python3.12-galaxy-ng, +6 more Red Hat build of Apache Camel - HawtIO 4 react-router Red Hat build of Apache Camel for Spring Boot 4 react-router Red Hat build of Apicurio Registry 2 react-router Red Hat build of Apicurio Registry 3 apicurio/apicurio-registry-ui-rhel8, apicurio/apicurio-registry-ui-rhel9 Red Hat Build of Keycloak react-router Red Hat Build of Podman Desktop rh-podman-desktop.git Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8 Red Hat Ceph Storage 9 rhceph/alloy-rhel10 Red Hat Data Grid 8 react-router Red Hat Developer Hub 1 rhdh/rhdh-hub-rhel9 Red Hat Discovery 2 discovery/discovery-ui-rhel9 Red Hat Edge Manager 1 rhem/flightctl-ui-rhel9, rhem/flightctl-ui-rhel10, rhem/flightctl-ui-ocp-rhel9, rhem/flightctl-ui-ocp-rhel10 Red Hat Enterprise Linux 8 pcs, grafana, pcs-snmp, grafana-pcp, thunderbird, grafana-loki, +14 more Red Hat Enterprise Linux 9 ipa, ipa-client, ipa-common, ipa-server, ipa-selinux, ipa-client-epn, +13 more Red Hat Enterprise Linux 10 ipa Red Hat Fuse 7 react-router Red Hat JBoss Enterprise Application Platform 8 react-router Red Hat JBoss Enterprise Application Platform Expansion Pack react-router Red Hat OpenShift AI (RHOAI) rhoai/odh-mlflow-rhel9, rhoai/odh-dashboard-rhel8, rhoai/odh-dashboard-rhel9, rhoai/odh-mod-arch-maas-rhel9, rhoai/odh-mod-arch-automl-rhel9, rhoai/odh-mod-arch-gen-ai-rhel9, +4 more Red Hat OpenShift Container Platform 4 openshift4/ose-console, openshift4/ose-console-rhel9, openshift4/ose-monitoring-plugin-rhel8, openshift4/ose-monitoring-plugin-rhel9, openshift4/ose-agent-installer-ui-rhel9, openshift4/ose-prometheus-alertmanager-rhel9, +1 more Red Hat OpenShift Container Platform 5 openshift5/ose-console-rhel9, openshift5/ose-monitoring-plugin-rhel9, openshift5/ose-agent-installer-ui-rhel9 Red Hat Openshift Data Foundation 4 rhceph-dev/odf4-odf-console-rhel9, rhceph-dev/odf4-ocs-client-console-rhel9, rhceph-dev/odf4-odf-multicluster-console-rhel9 Red Hat OpenShift Dev Spaces devspaces/openvsx-rhel9, devspaces/dashboard-rhel9
10 more affected, 2 more fixed, 2 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.6 | 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 |
| CNA | 4.0 | 6.6 | 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 |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | react-router | >=7.0.0, <7.14.1 >=6.7.0, <6.30.4 |
7.14.1 6.30.4 |
| npm | @remix-run/router | >=1.3.0, <1.23.3 |
1.23.3 |
Affected products
- remix-run react-router
- remix-run @remix-run/router
Classification
- Weakness
-
- CWE-601 URL Redirection to Untrusted Site
References
Sources
- CVE List CVE-2026-40181
- GitHub Advisory GHSA-2j2x-hqr9-3h42
- NVD CVE-2026-40181
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.