CVE-2026-70612: Electron · Sandboxed iframes can launch external protocol handlers
Affects electronSource GCVE Database
Not known to be exploited · CVSS 5.4 Medium : upgrade to 39.8.8 when convenient.
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 39.8.8, 40.9.0, 41.2.1 +1
CVSS:3.1/AV:N/AC:H/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 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
Upgrade Electron to version 39.8.8 or later (including 40.9.0, 41.2.1, or 42.0.0-beta.3) where this issue is fixed. Alternatively, implement a setPermissionRequestHandler that explicitly denies the openExternal permission for untrusted content to prevent sandboxed iframes from launching external protocol handlers.
Description
A vulnerability in Electron allows sandboxed iframes to launch external protocol handlers without respecting sandbox restrictions. This affects apps rendering untrusted content in sandboxed iframes that grant the openExternal permission by default. The issue is fixed in Electron versions 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.
References
- github.com/electron/electron/security/advisories/GHSA-p2rr-rvmm-c5fp (opens in a new tab)
- github.com/electron/electron/pull/50961 (opens in a new tab)
- github.com/electron/electron/pull/50962 (opens in a new tab)
- github.com/electron/electron/pull/50963 (opens in a new tab)
- github.com/electron/electron/pull/50964 (opens in a new tab)
- github.com/electron/electron/commit/08b9d0a220e267d1a2402a44bdd01a2e9aa320b5 (opens in a new tab)
- github.com/electron/electron/commit/2764e4c35168855f614876051823db4f58a3714a (opens in a new tab)
- github.com/electron/electron/commit/477dcf7afc6550715f9ec5e6f39ee38e5dd7bf39 (opens in a new tab)
- github.com/electron/electron/commit/c39e3d5687d57434c8d5fe814c5152efd2f631c3 (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)