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
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.
RED HAT CSAF/VEX: Product Impact Check
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.
| SCORE | VERSION | SEVERITY | VECTOR | SOURCE |
|---|---|---|---|---|
| 6.6 | CVSS V40 | MEDIUM | 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/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:X | NVD |
| 6.6 | CVSS V4_0 | MEDIUM | 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 | CVE CNA |
| 6.6 | CVSS 4.0 | — | Vector not published | GitHub Advisory |
| 6.1 | CVSS V31 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
Patch and Remediation Guide
Solution & Remediation Advisory
5 doğrulanmış yama veya düzeltilmiş sürüm kanıtı bulundu.
6.30.4GitLab Advisory düzeltilmiş sürüm: 6.30.4
7.14.1GitLab Advisory düzeltilmiş sürüm: 7.14.1
Upgrade to versions 6.30.4, 7.14.1 or above.
7.14.1OSV düzeltilmiş sürüm: 7.14.1
6.30.4OSV düzeltilmiş sürüm: 6.30.4
1.23.3OSV düzeltilmiş sürüm: 1.23.3
Upgrade to versions 6.30.4, 7.14.1 or above.
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
Official Sources and Advisories
Similar Vulnerabilities
Path traversal in Shopify React Router/node
@openhop/server: Path Traversal in Flow ID File Operations
functype-mcp-server: MCP `set_functype_version` Package Alias RCE via Unsanitized pnpm install + Dynamic Import
Socket.IO: Engine.IO Protocol Revision Mismatch DoS
Nuxt Ollama: Public Runtime Config Exposes Ollama API Key to Browser Clients
Electron: Local race condition in Squirrel.Mac update installation on macOS
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"