Intel

AIKIDO-2026-917501

electron is vulnerable to Sandbox Bypass

Sandbox Bypass Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Yesterday

42

Medium Risk

This Affects:

JSelectron
1.3.1 - 41.10.3
Fixed in 41.10.4
42.0.0 - 42.5.1
Fixed in 42.5.2
Are you affected? Scan for Free

TL;DR

Electron opens new windows for links triggered inside a sandboxed iframe through the OpenURL navigation path. On that path the opened window did not inherit the iframe's sandbox restrictions, so content confined to a sandboxed iframe could obtain a window that runs without those restrictions. This lets untrusted embedded content escape the sandbox boundary the application relied on. The fix makes such windows inherit the iframe's sandbox flags unless allow-popups-to-escape-sandbox is set.

Who does this affect?

You are affected if you are running a version that falls within a vulnerable range and your application embeds untrusted content in sandboxed iframes and relies on the iframe sandbox to restrict windows opened from that content.

Background info

electron is vulnerable to Sandbox Bypass in versions 1.3.1 - 41.10.3 and 42.0.0 - 42.5.1.

How to fix this

Upgrade the electron library to the patch version.