
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-70612 is a sandbox escape vulnerability in the Electron framework titled "Sandboxed iframes can launch external protocol handlers." It affects Electron versions prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3, allowing sandboxed iframes to bypass iframe sandbox restrictions and trigger OS-registered external protocol handlers. The advisory was published on August 5, 2026, with the fix backported across multiple release branches. It carries a CVSS v3.1 base score of 5.4 (Medium) (GitHub Advisory).
The root cause is improper access control (CWE-284): Electron's handling of external protocol URL requests from web content failed to consult the iframe's sandbox attribute flags before allowing the navigation. As a result, a sandboxed iframe — which should be restricted from initiating such actions — could trigger the launch of an OS-registered external application (e.g., via mailto:, tel:, or custom URI schemes). Additionally, the frame's sandbox state was not exposed to the application's permission handler, meaning apps relying on setPermissionRequestHandler to gate openExternal permissions were also bypassed. The fix, implemented across four backport pull requests (#50961–#50964), ensures that iframe sandbox flags are respected during external protocol navigation checks (GitHub Advisory, PR #50961).
Successful exploitation allows untrusted web content rendered inside a sandboxed iframe to launch arbitrary OS-registered external applications without user consent, potentially leading to unintended application execution, phishing via protocol handler abuse (e.g., opening a malicious mailto: or custom URI), or information disclosure. The scope is changed (S:C in CVSS), meaning the impact extends beyond the Electron renderer process to the host OS environment. Confidentiality and integrity are both assessed as low impact, and availability is not directly affected (GitHub Advisory).
setPermissionRequestHandler that denies openExternal.window.location = 'mailto:attacker@evil.com?body=...' or a custom URI scheme like ms-word://...).openExternal permission grants originating from sandboxed iframe contexts; OS-level logs (e.g., Windows Event Log, macOS unified log) recording unexpected launches of external protocol handler applications.Electron has released patched versions: 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3. Application developers should upgrade to one of these versions as the primary remediation. As an immediate workaround for apps that cannot upgrade, install a setPermissionRequestHandler that explicitly denies the openExternal permission for untrusted content — apps with such a handler already in place are not affected by this vulnerability (GitHub Advisory).
The advisory was published by the Electron security team (MarshallOfSound) on July 27, 2026, and disclosed publicly on August 5, 2026. No notable independent researcher commentary, social media discussion, or significant media coverage has been identified beyond the standard vulnerability database aggregation (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."