6.6

CVE-2026-40181: React Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL reinterpretation

Analyzed
AliasesCGA-7cj2-j79p-5mv7CGA-89g7-86pv-x6frCGA-96m5-x9g9-r4xg
Published 02-06-2026Last modified 04-08-2026

Vulnerability summary

CVE-2026-40181 is a medium (CVSS 6.6) URL Redirection to Untrusted Site vulnerability in remix-run react-router. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 13.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.6, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.6/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.22%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 5

Timeline

  1. 02-06-2026
    PublishedVulnerability first disclosed.
  2. 04-08-2026
    Last modifiedVulnerability information updated.

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 metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.22%

Chance of exploitation in the next 30 days

Percentile

13%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.22% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard7 products
  • airflow-2All versions (No fix recorded)
  • airflow-core-2All versions (No fix recorded)
  • keycloak-26.5< 26.5.7-r3
  • keycloak-26.5-iamguarded-compat< 26.5.7-r3
  • keycloak-26.6< 26.6.4-r14
Wolfi5 products
  • keycloak-26.5< 26.5.7-r3
  • keycloak-26.5-iamguarded-compat< 26.5.7-r3
  • keycloak-26.6< 26.6.4-r14
  • keycloak-26.6-iamguarded-compat< 26.6.4-r14
  • vitess-24< 24.0.1-r2
Remix-run2 products
@remix-run1 product
  • router≥ 1.3.0, < 1.23.3
Npm1 product
  • react-router≥ 7.0.0, < 7.14.1 | ≥ 6.7.0, < 6.30.4
Shopify1 product

6 vendors · 17 products

References

5 links