CVE-2026-102674

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

Published Sep 29, 2026 CVSS 3.1 · 8.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

An Electron framework defect permitted windows opened from a sandboxed top‑level document to ignore that document’s HTML sandbox restrictions. The vulnerable logic caused the new window to run with the Electron application’s full origin, effectively removing the sandbox’s intended isolation. The weakness is a form of authorization bypass (CWE‑266) with an accompanying audit failure (CWE‑693). When untrusted content in a sandboxed document is allowed to invoke popup creation, the attacker can elevate privileges within the application context. No other system compromise is described; the attack vector is the ability to embed or inject untrusted code into a sandboxed top‑level document that is permitted to opening windows.

Affected Systems

All Electron releases older than v41.10.6, v42.9.2, v43.4.1, and v44.0.0‑beta.5 are affected. This includes Electron 41.10.5 and earlier, 42.9.1 and.0 and earlier, and any pre‑beta 44.0.0 revisions. Applications that rely on Electron for desktop UI should verify their installed version against these boundaries.

Risk and Exploitability

The vulnerability carries a high CVSS score of 8.2, indicating significant impact if exploited. EPSS score is less than 1%, indicating a low probability of exploitation, and the issue is not listed in the CISA KEV catalog, suggesting it has not yet been widely observed in the wild. Exploitation requires that the application allow popups from a sandboxed top‑level document; applications that explicitly deny such pop‑ups with setWindowOpenHandler remain unaffected. An attacker who can supply untrusted content to the sandboxed document can create a window that runs at the application's full origin, potentially exposing sensitive data or allowing execution of malicious code within the application environment.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Electron to version 41.10.6, 42.9.2, 43.4.1, or the 44.0.0‑beta.5 release or newer
  • Configure the application to reject popup windows by implementing setWindowOpenHandler and denying the ‘open’ action
  • Review any third‑party or dynamic content injected into sandboxed top‑level documents and remove or restrict untrusted sources

Generated by OpenCVE AI on October 2, 2026 at 02:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-gr2m-v5gq-v685 Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions
History
Type Values Removed Values Added
First Time appeared Electronjs
Electronjs electron
CPEs cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:alpha1:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:alpha2:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:alpha3:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:alpha4:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:alpha5:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:alpha6:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:alpha7:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:alpha8:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:alpha9:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:beta1:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:beta2:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:beta3:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:44.0.0:beta4:*:*:*:node.js:*:*
Vendors & Products Electronjs
Electronjs electron
Type Values Removed Values Added
First Time appeared Electron
Electron electron
Vendors & Products Electron
Electron electron
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions
Weaknesses CWE-266
CWE-693
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N'}

Weaknesses
  • CWE-266

    Incorrect Privilege Assignment

  • CWE-281

    Improper Preservation of Permissions

  • CWE-693

    Protection Mechanism Failure

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 29, 2026, 5:20 PM
Reserved
Sep 29, 2026, 4:10 PM
Status
Analyzed
Published
Sep 29, 2026, 5:17 PM
Modified
Oct 15, 2026, 1:58 PM
Severity
Important
Public date
Sep 29, 2026, 4:51 PM