CVE-2026-70607: Electron · window.open features string controls some window options considered privileged
Affects electronSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 39.8.8 when convenient.
Data as of 3 Nov 2026, 22:58 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 39.8.8, 40.9.0, 41.2.1 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmelectron | Affected
| Fixed in
|
| npmelectron | Affected
| Fixed in
|
| npmelectron | Affected
| Fixed in
|
| npmelectron | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in Electron versions 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3. Users should upgrade to one of these versions or later. As a workaround, apps can deny window.open() calls from untrusted content by returning { action: 'deny' } from setWindowOpenHandler, or explicitly set all child window options using overrideBrowserWindowOptions to prevent untrusted control of privileged options.
Description
A vulnerability in Electron allows untrusted web content to control certain privileged window options via the window.open() features string. This can lead to the main process accessing attacker-chosen file or network paths if the app does not restrict or override these options. The issue affects Electron versions before 39.8.8 and is mitigated by denying window.open() calls from untrusted content or explicitly overriding window options. Fixed versions include 39.8.8 and later.
References
- github.com/electron/electron/security/advisories/GHSA-v93f-fgjr-hjrj (opens in a new tab)
- github.com/electron/electron/pull/50946 (opens in a new tab)
- github.com/electron/electron/pull/50947 (opens in a new tab)
- github.com/electron/electron/pull/50948 (opens in a new tab)
- github.com/electron/electron/pull/50949 (opens in a new tab)
- github.com/electron/electron/commit/30cf3882de75ee651bd4e5f27002f13fd3d3163a (opens in a new tab)
- github.com/electron/electron/commit/4eff3dc09e4d1e62d649c5ce9902f532bb7469c7 (opens in a new tab)
- github.com/electron/electron/commit/615d62500fc7732d068274b796c49487e652e90b (opens in a new tab)
- github.com/electron/electron/commit/fe2e7d0073949b4593b624b93abf1788f5377e55 (opens in a new tab)
- github.com/electron/electron (opens in a new tab)
- github.com/electron/electron/releases/tag/v39.8.8 (opens in a new tab)
- github.com/electron/electron/releases/tag/v40.9.0 (opens in a new tab)
- github.com/electron/electron/releases/tag/v41.2.1 (opens in a new tab)
- github.com/electron/electron/releases/tag/v42.0.0-beta.3 (opens in a new tab)