Skip to main content

Electron EUVDEUVD-2026-53440

| CVE-2026-70604 HIGH
Permissive Cross-domain Security Policy with Untrusted Domains (CWE-942)
2026-08-05 GitHub_M GHSA-v3j7-r9gq-3gjw
7.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify Electron app with misconfigured custom scheme
  2. Delivery
    Host malicious page at remote origin
  3. Exploit
    Entice victim to load page in Electron renderer
  4. Install
    Issue fetch() to privileged custom scheme URL
  5. C2
    CORS enforcement absent - full response returned
  6. Execute
    Read sensitive response body
  7. Impact
    Exfiltrate data to attacker server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration CORS policy restriction
Exploitation Conditions

Exploitation requires all three of the following application-level conditions to hold simultaneously: the Electron app must register a custom URL scheme with supportFetchAPI: true AND without corsEnabled: true; that custom scheme must serve data considered sensitive or private (e.g., user credentials, internal configuration, tokens); and the app must load remote or untrusted third-party content in a renderer process (e.g., via BrowserWindow navigating to an external URL, or via a webview tag). Apps that already set corsEnabled: true on their custom schemes are explicitly not affected. Apps that do not load any remote or untrusted content in the renderer are also not affected regardless of scheme configuration. The CVSS UI:R metric further constrains exploitation: a victim must actively open a renderer session containing the attacker's page - passive or server-side exploitation is not possible. Exploitation is limited to confidentiality; there is no write or execution primitive associated with this bypass.

Impact

The CVSS 7.4 score with vector AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N reflects a network-reachable, low-complexity confidentiality breach that crosses a security scope boundary, consistent with the CORS bypass mechanism. The UI:R metric is significant: exploitation is not passive - a victim must actively open or interact with a renderer that loads attacker-controlled content. No EPSS data was included in the provided intelligence, so probabilistic exploitation likelihood cannot be quantified. The vulnerability is not in CISA KEV, and no public exploit code has been identified. Real-world risk is substantially narrowed by the three concurrent application-level conditions required: custom scheme registration with the specific flag pair, serving sensitive data from that scheme, and loading untrusted remote content in the same renderer process. Apps meeting all three conditions face a genuine high-confidentiality risk; apps missing any one condition are not affected per the vendor advisory.

Exploit ScenarioDerived

An attacker hosts a malicious web page and entices a victim to open it inside an Electron application's renderer - for example, via an embedded webview or a BrowserWindow pointing at an attacker-controlled URL. The page issues a fetch() call to a privileged custom scheme (e.g., myapp://api/userdata) that the Electron app exposes to serve internal configuration or authentication tokens. Because CORS enforcement is absent on the scheme, Chromium returns the full response body to the malicious script, which then transmits the exfiltrated data to the attacker's server. No public exploit code is known at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

Cross-origin read bypass in Electron's custom protocol handler exposes sensitive application data to remote pages via fetch() and XMLHttpRequest. Electron apps on any branch prior to 39.8.10, 40.9.3, 41.4.0, or 42.0.0 that register a custom scheme with supportFetchAPI: true but omit corsEnabled: true fail to enforce CORS, allowing a malicious remote page loaded in the renderer to read the full response body of privileged custom-scheme requests. No public exploit code is identified at time of analysis and the vulnerability is not in CISA KEV, but the confidentiality impact is rated high by the vendor given the potential to exfiltrate internal application data.

RemediationAI

Upgrade Electron to one of the patched releases - 39.8.10, 40.9.3, 41.4.0, or 42.0.0 - which enforce CORS correctly for custom schemes regardless of the corsEnabled flag state, as documented in GHSA-v3j7-r9gq-3gjw (https://github.com/electron/electron/security/advisories/GHSA-v3j7-r9gq-3gjw). For teams unable to upgrade immediately, the vendor-confirmed workaround is to set corsEnabled: true on every custom scheme that uses supportFetchAPI: true; additionally, validate the Origin header inside the protocol handler before returning any sensitive data, which provides defence-in-depth even if CORS headers are misconfigured. Note that enabling corsEnabled: true may require updating legitimate callers to comply with CORS preflight requirements (adding appropriate Access-Control-Allow-Origin response headers), and that Origin validation in the handler must be maintained as an ongoing control if upgrading is delayed.

Affected VersionsENISA

electron 40.0.0-alpha.1, < 40.9.3
electron < 39.8.10
electron 41.0.0-alpha.1, < 41.4.0
electron 42.0.0-alpha.1, < 42.0.0

Affected Packages

npm electron fix: 39.8.10, 40.9.3, 41.4.0, 42.0.0
euvd electron_40_0_0_alpha_1 fix: 40.9.3
euvd electron_41_0_0_alpha_1 fix: 41.4.0
euvd electron_42_0_0_alpha_1 fix: 42.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Electron's protocol module allows applications to define custom URL schemes (e.g., myapp://) that intercept network requests in the Chromium renderer. When a scheme is registered with supportFetchAPI: true, Electron signals to Chromium that the scheme participates in the Fetch API. CWE-942 (Permissive Cross-domain Policy with Untrusted Domains) is the root cause: Electron failed to apply CORS enforcement to such schemes unless the developer also explicitly set corsEnabled: true, meaning Chromium's cross-origin read blocking was bypassed for these scheme responses. A renderer loading content from a remote HTTP origin could therefore issue a fetch() or XHR to the custom scheme across the origin boundary and receive the full, unblocked response - behaviour that CORS is specifically designed to prevent. The affected CPE is cpe:2.3:a:electron:electron:*:*:*:*:*:*:*:*, spanning all major branches.

Know when Electron gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.4 HIGH
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
vuln.today AI 7.4 HIGH

Network-delivered, victim must load malicious page (UI:R); scope change reflects cross-origin boundary breach into custom scheme data; no integrity or availability impact applies.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Aug 05, 2026 - 17:02 EUVD
CVE Published
Aug 05, 2026 - 15:59 cve.org
HIGH 7.4

DescriptionCVE.org

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.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

A cross-origin read bypass vulnerability in Electron's custom protocol handler (CVE-2026-70604) allows attackers to exfiltrate sensitive application data; no public exploit identified at time of analysis. Organizations running Electron versions prior to 39.8.10, 40.9.3, 41.4.0, or 42.0.0 that use custom scheme handlers face potential compromise of internal application secrets and user data.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
High
popular desktop app framework powering VS Code, Slack, Discord, Notion
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

57
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2018-1000006 HIGH POC
8.8 Jan 24

GitHub Electron versions 1.8.2-beta.3 and earlier, 1.7.10 and earlier, 1.6.15 and earlier has a vulnerability in the pro

CVE-2025-68669 CRITICAL POC
9.6 Dec 23

Remote code execution in 5ire 0.15.2 and earlier arises because the desktop AI assistant renders Mermaid diagrams with s

CVE-2025-67744 CRITICAL POC
9.6 Dec 16

Cross-site scripting in DeepChat's Mermaid diagram renderer escalates to full remote code execution on affected desktop

CVE-2025-66481 CRITICAL POC
9.6 Dec 09

Remote code execution in DeepChat 0.5.1 and below is possible through a cross-site scripting flaw in Mermaid diagram ren

CVE-2026-93922 HIGH POC
8.6 Sep 18

Stored cross-site scripting in SiYuan through 3.8.4 lets an attacker who can set a notebook name containing an HTML payl

CVE-2017-12581 HIGH POC
8.1 Aug 06

GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration bypass vulnerability. Rated hi

CVE-2018-15685 HIGH POC
8.1 Aug 23

GitHub Electron 1.7.15, 1.8.7, 2.0.7, and 3.0.0-beta.6, in certain scenarios involving IFRAME elements and "nativeWindow

CVE-2018-1000136 HIGH POC
8.1 Mar 23

Electron version 1.7 up to 1.7.12; 1.8 up to 1.8.3 and 2.0.0 up to 2.0.0-beta.3 contains an improper handling of values

CVE-2024-39698 HIGH POC
7.5 Jul 09

electron-updater allows for automatic updates for Electron apps. Rated high severity (CVSS 7.5), this vulnerability is r

CVE-2026-70611 MEDIUM POC
6.9 Aug 05

Native code execution outside the Chromium sandbox is achievable in Electron prior to 39.8.9, 40.9.2, 41.2.1, and 42.0.0

CVE-2020-4077 CRITICAL
9.9 Jul 07

In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass. Rated critical severity

CVE-2026-102676 CRITICAL
9.8 Sep 29

Privilege escalation in the Electron framework lets a <webview> guest grant itself Node.js integration inside its Web Wo

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy