Skip to main content
EPSS 0.2%top 89%

CVE-2026-40181: CWE-601: URL Redirection to Untrusted Site ('Open Redirect') in remix-run react-router

0
Medium
VulnerabilityCVE-2026-40181cvecve-2026-40181cwe-601
Published: 06/02/2026 (06/02/2026, 17:55:09 UTC)
Source: CVE Database V5
Vendor/Project: remix-run
Product: react-router

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.

CVSS v4.0

Score 6.6medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

remix-run

react-router

Affected versions
>=7.0.0 <7.14.1>=6.7.0 <6.30.4

remix-run

@remix-run/router

Affected versions
>=1.3.0 <1.23.3

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 13:30:58 UTC

Technical Analysis

React Router versions 7.0.0 through 7.14.0 and 6.7.0 through 6.30.3 contain an open redirect vulnerability (CWE-601) where certain URLs starting with // passed to the redirect function are treated as protocol-relative URLs, enabling redirection to external domains. This behavior depends on the application's validation of redirect URLs. Applications using Declarative Mode (<BrowserRouter>) are not impacted. The vulnerability is addressed in versions 7.14.1 and 6.30.4.

Potential Impact

This vulnerability allows an attacker to craft URLs that cause the application to redirect users to untrusted external sites, potentially facilitating phishing or other malicious activities. The actual impact depends on how the application validates redirect URLs before invoking the redirect function. There is no indication of active exploitation in the wild.

Mitigation Recommendations

A fix is available in react-router versions 7.14.1 and 6.30.4. Users should upgrade to these versions or later to remediate the vulnerability. Applications using Declarative Mode (<BrowserRouter>) are not affected by this issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-09T20:59:17.619Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a1f348ce29bf47b50fa1ff9

Added to database: 06/02/2026, 19:52:44 UTC

Last enriched: 08/05/2026, 13:30:58 UTC

Last updated: 09/11/2026, 07:31:53 UTC

Views: 155

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses