CVE-2026-70608: Electron · Sandboxed iframe can bypass the allow-popups restriction via the OpenURL navigation path
Affects electronSource GCVE Database
Not known to be exploited · CVSS 7.2 High : upgrade to 42.0.1 soon.
Data as of 3 Nov 2026, 22:58 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 42.0.1, 41.10.3, 39.8.10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/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 electron to 42.0.1; electron to 41.10.3; electron to 39.8.10.
Affected software
| Product | 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.10, 41.10.3, and 42.0.1. Users should upgrade to one of these versions or later. As a workaround, applications should return { action: 'deny' } from setWindowOpenHandler for any untrusted content instead of relying solely on the iframe sandbox's popup restrictions.
Description
A vulnerability in Electron allows sandboxed iframes without the 'allow-popups' permission to open new windows or trigger setWindowOpenHandler without user interaction. This occurs because new-window navigations using the OpenURL path do not enforce the iframe sandbox popup restriction. Applications embedding untrusted content in sandboxed iframes and relying solely on the absence of 'allow-popups' to prevent window creation are affected. Versions prior to 39.8.10 are vulnerable. Fixed versions include 39.8.10, 41.10.3, and 42.0.1.
References
- github.com/electron/electron/security/advisories/GHSA-9f4c-93c8-jc8g (opens in a new tab)
- github.com/electron/electron/pull/51437 (opens in a new tab)
- github.com/electron/electron/pull/51438 (opens in a new tab)
- github.com/electron/electron/pull/51439 (opens in a new tab)
- github.com/electron/electron/commit/3ff23c52ab364a0afc6ab5bd7851291d3159de57 (opens in a new tab)
- github.com/electron/electron/commit/57cbe329c4ae8aab5ac5ebdcb588adc9a11de0d3 (opens in a new tab)
- github.com/electron/electron/commit/68cf8b7d9122260f6b534a69a82c701a56cf159f (opens in a new tab)
- github.com/electron/electron (opens in a new tab)
- github.com/electron/electron/releases/tag/v39.8.10 (opens in a new tab)
- github.com/electron/electron/releases/tag/v41.10.3 (opens in a new tab)
- github.com/electron/electron/releases/tag/v42.0.1 (opens in a new tab)