CVE-2026-40181: React Router is a router for React
CVE-2026-40181 is a medium-severity flaw (CVSS 6.1) affecting react-router. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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>
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 87%) |
| CISA exploited list | No |
| Weakness | CWE-601 |
| Published | 2026-06-02 |
| Last modified | 2026-08-04 |
Last updated 2026-08-04 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40181?
react-router: upgrade to 6.30.4, 7.14.1. Exact commands for each OS are on this page.
Is CVE-2026-40181 being exploited?
CVE-2026-40181 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40181 affect?
CVE-2026-40181 affects react-router. Severity is medium (CVSS 6.1). 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 reinter
How urgent is CVE-2026-40181?
Priority 24/100. No elevated risk signals yet.
Software pages
React vulnerabilities · Shopify vulnerabilities
Related CVEs
- CVE-2026-55685 HIGH 7.5 UPGRADE React Router is a router for React
- CVE-2026-53667 MEDIUM 6.9 UPGRADE React Router is a router for React
- CVE-2026-53668 MEDIUM 6.9 UPGRADE React Router is a router for React
- CVE-2026-53666 MEDIUM 6.1 UPGRADE React Router is a router for React
- CVE-2026-53669 MEDIUM 6.1 UPGRADE React Router is a router for React