CVE-2026-70604

Electron: Custom protocol with supportFetchAPI but not corsEnabled allows cross-origin reads

HIGH
7.4
CVSS Score
Published: August 5, 2026 at 03:59 PM UTC
Updated: October 8, 2026 at 01:53 PM UTC
2 products affected across 2 vendorsElectronElectron

Using electron by electron?

Get instant alerts when new vulnerabilities affect electron - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.4
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

Description

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.10, 40.9.3, 41.4.0, and 42.0.0, a custom scheme registered with supportFetchAPI: true but without corsEnabled: true was not subject to CORS enforcement. A page loaded from a remote origin could therefore fetch() or XMLHttpRequest that scheme cross-origin and read the full response body, rather than the read being blocked. Apps that serve sensitive data from such a scheme and load remote or untrusted content in a renderer are affected. This issue is fixed in versions 39.8.10, 40.9.3, 41.4.0, and 42.0.0.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Affected range stops below 39.8.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 40.9.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 41.4.0, so it looks safe — our inference, not a vendor statement
v < 39.8.10>= 40.0.0-alpha.1, < 40.9.3>= 41.0.0-alpha.1, < 41.4.0>= 42.0.0-alpha.1, < 42.0.0
Affected range stops below 39.8.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 40.9.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 41.4.0, so it looks safe — our inference, not a vendor statement
Affected range stops below 42.0.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

x_refsource_CONFIRMVendor Advisory
Source: cverecord
https://github.com/electron/electron/security/advisories/GHSA-v3j7-r9gq-3gjw

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.4HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-942

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card