CVE-2026-70604: Electron · Custom protocol with supportFetchAPI but not corsEnabled allows cross-origin reads
Affects electronSource GCVE Database
Not known to be exploited · CVSS 7.4 High : upgrade to 42.0.0 soon.
Data as of 3 Nov 2026, 22:58 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 42.0.0, 41.4.0, 40.9.3 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmelectron | Affected
| Fixed in
|
| npmelectron | Affected
| Fixed in
|
| npmelectron | Affected
| Fixed in
|
| npmelectron | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in Electron versions 39.8.10, 40.9.3, 41.4.0, and 42.0.0. Users should upgrade to one of these versions or later. As a workaround, set corsEnabled: true on custom schemes that require CORS enforcement and validate the Origin header in the protocol handler before returning sensitive data. Applications that do not load untrusted content are not affected.
Description
A vulnerability in Electron allows cross-origin reads from custom protocols that have supportFetchAPI enabled but lack CORS enforcement. This flaw permits remote-origin pages to fetch or XMLHttpRequest such schemes and read full response bodies without CORS restrictions. Applications serving sensitive data via such custom schemes and loading untrusted content are at risk. The issue is fixed in Electron versions 39.8.10, 40.9.3, 41.4.0, and 42.0.0.