Back

HIGH

Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions

Published Sep 29, 2026

Description

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 41.10.6, 42.9.2, 43.4.1, and 44.0.0-beta.5, windows opened from a sandboxed top-level document did not inherit that document's active HTML sandbox restrictions. Untrusted content in a sandboxed top-level document that was permitted to open popups could therefore create a window with the Electron application's full origin instead of the restricted origin intended by the sandbox. Applications that deny such popups with setWindowOpenHandler are not affected. This issue is fixed in versions 41.10.6, 42.9.2, 43.4.1, and 44.0.0-beta.5.

Affected products

Remediation

Red Hat statement

A flaw was found in Electron where child windows opened from a sandboxed top-level document fail to inherit the document's active HTML sandbox restrictions. An attacker capable of delivering untrusted content to a sandboxed document that is permitted to open popups can spawn a window running under the application's full origin. This leads to a sandbox bypass, enabling unauthorized access to sensitive application data or internal resources.

Red Hat mitigation

Applications can mitigate this vulnerability by intercepting and denying unexpected popups using setWindowOpenHandler. Returning { action: 'deny' } for unvalidated or unapproved popup requests prevents child windows from opening with the full origin context.

Metrics

References (14)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner GitHub_M
Published Sep 29, 2026
Updated Sep 29, 2026
Reserved Sep 29, 2026
CISA Vulnrichment
Updated Sep 29, 2026
NVD
Status Awaiting Analysis
Modified Sep 30, 2026
Red Hat
Severity Important
Public date Sep 29, 2026
GHSA-GR2M-V5GQ-V685