CVE-2026-70612
Electron: Sandboxed iframes can launch external protocol handlers
Description
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3, requests to open external protocol URLs from web content did not take iframe sandbox restrictions into account, so a sandboxed iframe could cause an OS-registered external application to be launched. The frame sandbox state was also not made available to the app permission handlers, affecting apps that render untrusted content in sandboxed iframes and grant the openExternal permission by default when no setPermissionRequestHandler is installed. This issue is fixed in 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.
INFO
Published Date :
Aug. 5, 2026, 7:17 p.m.
Last Modified :
Aug. 5, 2026, 8:17 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2026-70612
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | MITRE-CVE |
Solution
- Update Electron to version 39.8.8 or later.
- Update Electron to version 40.9.0 or later.
- Update Electron to version 41.2.1 or later.
- Update Electron to version 42.0.0-beta.3 or later.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-70612.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-70612 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-70612
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-70612 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-70612 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 05, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-70612', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-08-05T19:03:22.677858Z'} -
New CVE Received by [email protected]
Aug. 05, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'electron', 'product': 'electron', 'versions': [{'status': 'affected', 'version': '< 39.8.8'}, {'status': 'affected', 'version': '>= 40.0.0-alpha.1, < 40.9.0'}, {'status': 'affected', 'version': '>= 41.0.0-alpha.1, < 41.2.1'}, {'status': 'affected', 'version': '>= 42.0.0-alpha.1, < 42.0.0-beta.3'}]}] Added Description Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3, requests to open external protocol URLs from web content did not take iframe sandbox restrictions into account, so a sandboxed iframe could cause an OS-registered external application to be launched. The frame sandbox state was also not made available to the app permission handlers, affecting apps that render untrusted content in sandboxed iframes and grant the openExternal permission by default when no setPermissionRequestHandler is installed. This issue is fixed in 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3. Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N Added CWE CWE-284 Added Reference https://github.com/electron/electron/commit/08b9d0a220e267d1a2402a44bdd01a2e9aa320b5 Added Reference https://github.com/electron/electron/commit/2764e4c35168855f614876051823db4f58a3714a Added Reference https://github.com/electron/electron/commit/477dcf7afc6550715f9ec5e6f39ee38e5dd7bf39 Added Reference https://github.com/electron/electron/commit/c39e3d5687d57434c8d5fe814c5152efd2f631c3 Added Reference https://github.com/electron/electron/pull/50961 Added Reference https://github.com/electron/electron/pull/50962 Added Reference https://github.com/electron/electron/pull/50963 Added Reference https://github.com/electron/electron/pull/50964 Added Reference https://github.com/electron/electron/releases/tag/v39.8.8 Added Reference https://github.com/electron/electron/releases/tag/v40.9.0 Added Reference https://github.com/electron/electron/releases/tag/v41.2.1 Added Reference https://github.com/electron/electron/releases/tag/v42.0.0-beta.3 Added Reference https://github.com/electron/electron/security/advisories/GHSA-p2rr-rvmm-c5fp