CVE-2026-70607 Details
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, some window options supplied by web content in the window.open() features string were applied to the new BrowserWindow without an allowlist. Untrusted content could set window options it should not control, including options that cause the main process to access attacker-chosen file or network paths, when untrusted content can call window.open() and the app does not override child window options via setWindowOpenHandler or overrideBrowserWindowOptions. This issue is fixed in 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.
A vulnerability in Electron allows untrusted web content to manipulate certain window options when calling window.open(), potentially leading to unauthorized access to file or network paths. This issue affects Electron versions prior to 39.8.8, 40.0.0-alpha.1 through 40.9.0, 41.0.0-alpha.1 through 41.2.1, and 42.0.0-alpha.1 through 42.0.0-beta.3. The vulnerability arises because some options were applied to new BrowserWindow instances without an allowlist, allowing untrusted content to control options that could access privileged resources.
Users can update to Electron versions 39.8.8, 40.9.0, 41.2.1, or 42.0.0-beta.3, where this vulnerability has been fixed. Alternatively, untrusted content can be denied window.open() access using setWindowOpenHandler, or the overrideBrowserWindowOptions can be used to explicitly set all desired window options.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| electronjs electron | < 39.8.8 >= 40.0.0, < 40.9.0 >= 41.0.0, <= 41.2.1 42.0.0 alpha1 42.0.0 alpha2 42.0.0 alpha3 42.0.0 alpha4 42.0.0 alpha5 42.0.0 alpha6 42.0.0 beta1 42.0.0 beta2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | Initial Analysis | [email protected] |
| Aug 5, 2026 | CVE Modified | CISA-ADP |
| Aug 5, 2026 | New CVE Received | [email protected] |