Back to the CVE list
CVE-2026-40181Suited to automated attack · CISA

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

CVSS score

6.6

EPSS probability

%0.3

Risk score

0.0

Published

4 mo ago

Official patch verified

Etkilenen ürün ve sürüm için yayımlanan güvenlik güncellemesini uygulayın.

Impact on My Inventory

Only the personal products you have added to your account are assessed; an organisation's inventory does not appear here.

Checking session…

Vulnerability description

DayBreach CVE AI Research

CVE-2026-40181 has vendor, distribution, patch and security-source records on file. We can compare them and prepare an explanation linked to the evidence.

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.

IMPACT: Affected Products and Software

Affected Products

The following products are affected by CVE-2026-40181 vulnerability. Where our threat engine knows the exact affected versions, they are listed below.

IDVENDORPRODUCTACTION
1remix-runreact-router View
2remix-run@remix-run/router View
3shopifyreact-router View
4shopifyreact-router View
5npmreact-router View
6npmreact-router View
7npm@remix-run/router View
8npmreact-router View
9npmreact-router View
10npmreact-router View
11npm@remix-run/router View
Total affected vendors: 3|Products: 11

RED HAT CSAF/VEX: Product Impact Check

Red Hat has not yet published a CSAF/VEX impact record for this CVE. This does not mean “not affected”.

SCORING: CVSS from Multiple Sources

CVSS Scores

The Common Vulnerability Scoring System is a standardised framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from several sources for each CVE.

SCOREVERSIONSEVERITYVECTORSOURCE
6.6CVSS V40MEDIUMCVSS: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:XNVD
6.6CVSS V4_0MEDIUMCVSS: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:UCVE CNA
6.6CVSS 4.0—Vector not publishedGitHub Advisory
6.1CVSS V31MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NNVD

Patch and Remediation Guide

Solution & Remediation Advisory

Patch verified

5 doğrulanmış yama veya düzeltilmiş sürüm kanıtı bulundu.

gitlabnpm/react-router6.30.4

GitLab Advisory düzeltilmiş sürüm: 6.30.4

gitlabnpm/react-router7.14.1

GitLab Advisory düzeltilmiş sürüm: 7.14.1

gitlab

Upgrade to versions 6.30.4, 7.14.1 or above.

osvreact-router7.14.1

OSV düzeltilmiş sürüm: 7.14.1

osvreact-router6.30.4

OSV düzeltilmiş sürüm: 6.30.4

osv@remix-run/router1.23.3

OSV düzeltilmiş sürüm: 1.23.3

canonical

Upgrade to versions 6.30.4, 7.14.1 or above.

Confirm the affected product and version against the source evidence above.
Restrict access to internet-facing services and apply network segmentation.
Apply the official update named in the evidence only to the matching product and version.
Monitor server logs and network endpoints for signs of anomalous execution.

Public exploit and active exploitation status

Verified exploit intelligence

No verified public PoC, exploit repository or Metasploit module has been found for this CVE yet.

Weakness Classification and Attack Patterns (CWE & CAPEC)

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorises the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-40181 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-40181 weaknesses.

Attack Vector and Accessibility

ExposureAğ üzerinden
PermissionsGerekmiyor
UserGerekmiyor

Official Sources and Advisories

CVSS Vector Radar Chart

6.6 / 10
Attack VectorNetworkComplexityLowPrivilegesNoneUser Interact.NoneConfidentialityLowIntegrityNoneAvailabilityNone

Vulnerability Scoring Details

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
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone required
User InteractionNone required
Confidentiality (Gizlilik)Low
Integrity (Bütünlük)None
Availability (Erişilebilirlik)None

Yama doğrulandı

5 doğrulanmış yama veya düzeltilmiş sürüm kanıtı bulundu.

Follow the vendor

S
shopify logo
shopify
N
npm logo
npm

Weakness Type (CWE & CAPEC)

Similar Vulnerabilities

Get this vulnerability through the API

Affected products, version ranges, exploitation status and patch information in a single request, with a free key.

curl -H "x-api-key: $DAYBREACH_API_KEY" \
  "https://api.enginteksut.com.tr/api/v1/intel/cves/CVE-2026-40181"