Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-70604— Electron: Custom protocol with supportFetchAPI but not corsEnabled allows cross-origin reads

Quick assessment

Affected
electron electron
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Electron是Electron组织开源的一个跨平台的桌面应用开发框架。 Electron 39.8.10之前版本、40.9.3之前版本、41.4.0之前版本和42.0.0之前版本存在配置错误漏洞,该漏洞源于自定义scheme注册时未启用CORS强制,可能导致远程源页面跨源读取完整响应体。

CVSS 7.4 · High EPSS 0.35% · P26

Affected Version Matrix 4

VendorProduct Version RangeStatus
electron electron < 39.8.10 affected
>= 40.0.0-alpha.1, < 40.9.3 affected
>= 41.0.0-alpha.1, < 41.4.0 affected
>= 42.0.0-alpha.1, < 42.0.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-70604

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Electron: Custom protocol with supportFetchAPI but not corsEnabled allows cross-origin reads
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
过度许可的跨域白名单
Source: CVE Program / CVE List V5
Vulnerability Title
Electron 配置错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Electron是Electron组织开源的一个跨平台的桌面应用开发框架。 Electron 39.8.10之前版本、40.9.3之前版本、41.4.0之前版本和42.0.0之前版本存在配置错误漏洞,该漏洞源于自定义scheme注册时未启用CORS强制,可能导致远程源页面跨源读取完整响应体。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
electron electron < 39.8.10 -

II. Public POCs for CVE-2026-70604

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7495 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-70604

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-70604 (1)

Same Patch Batch · electron · 2026-08-05 · 16 CVEs total

CVE-2026-70601 7.5 HIGH Electron: Context isolation bypass via Function.prototype.bind hijack
CVE-2026-70608 7.2 HIGH Electron: Sandboxed iframe can bypass the allow-popups restriction via the OpenURL navigat
CVE-2026-70611 6.9 MEDIUM Electron: DevTools embedder handler executes arbitrary files via shell open
CVE-2026-70602 6.6 MEDIUM Electron: Extension tab APIs operate across session boundaries
CVE-2026-70597 6.3 MEDIUM Electron: Parent process code-sign check is spoofable
CVE-2026-70603 6.0 MEDIUM Electron: shell.openPath path validation bypass via embedded null byte
CVE-2026-70605 5.9 MEDIUM Electron: HTTP redirect followed into local file loader
CVE-2026-70606 5.9 MEDIUM Electron: ProtocolResponse.url reuses the default session cache instead of the registering
CVE-2026-70599 5.9 MEDIUM Electron: Permission Check Handler Receives Main Frame Origin Instead of Requesting Iframe
CVE-2026-70609 5.7 MEDIUM Electron: DevTools JavaScript Injection via Unsanitized Dock State Parameter
CVE-2026-70610 5.4 MEDIUM Electron: contextBridge object copy honors prototype setters
CVE-2026-70612 5.4 MEDIUM Electron: Sandboxed iframes can launch external protocol handlers
CVE-2026-70607 5.3 MEDIUM Electron: window.open features string controls some window options considered privileged
CVE-2026-70598 3.9 LOW Electron: Off-screen rendering trusts GPU-supplied geometry over shared-memory size
CVE-2026-70600 3.1 LOW Electron: Cross-origin iframe can position native autofill popup

IV. Related Vulnerabilities

V. Comments for CVE-2026-70604

No comments yet


Leave a comment