CVE-2026-40181

CVE-2026-40181 is a medium-severity vulnerability in Shopify React-router with a CVSS 3.x base score of 6.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-601.

Key facts

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.

Frequently asked questions

What is CVE-2026-40181?
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.
How severe is CVE-2026-40181?
CVE-2026-40181 has a CVSS 3.x base score of 6.1, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
Is CVE-2026-40181 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (6th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2026-40181?
CVE-2026-40181 affects Shopify React-router. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2026-40181?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2026-40181 have an EU (EUVD) identifier?
Yes. CVE-2026-40181 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-33996.
When was CVE-2026-40181 published?
CVE-2026-40181 was published on 2026-06-02 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Shopify React-router

All CVEs affecting Shopify React-router →

Other CWE-601 (Open Redirect) vulnerabilities

Browse all CWE-601 (Open Redirect) vulnerabilities →