CVE-2026-102674 · GHSA-gr2m-v5gq-v685
Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions
- Risk score
- 44/100
- CVSS
- 6.1 v3.1
- Exploit chance (30 days)
- 0.2%
- Published
- 29 Sep 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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 do…
- Affected
- electron (npm) < 41.10.6; electron (npm) >= 42.0.0-alpha.1, < 42.9.2; electron (npm) >= 43.0.0-alpha.1, < 43.4.1; electron (npm) >= 44.0.0-alpha.1, < 44.0.0-beta.5
- Fix
- Upgrade electron to 41.10.6 or 42.9.2 or 43.4.1 or 44.0.0-beta.5 (whichever matches your release line) or later.
- Exploitation
- No known exploitation
Story map
At a glance
electron: Red, act today. 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, an Electron <webview> guest could enable nodeIntegrationInWorker for its Web Workers even when the unsandboxed embedder had Node.js integration disabled, allowing…
The flaws
- CVE-2026-102674: Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions (CVSS 6.1 · EPSS 0%)
- CVE-2026-102676: Electron: <webview> can enable Node.js integration in Web Workers despite embedder restrictions (CVSS 9.8 · EPSS 0%)
- CVE-2026-102677: Electron: Sandboxed preload code cache can be poisoned by a compromised renderer (CVSS 8.8 · EPSS 0%)
- CVE-2026-102673: Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab (CVSS 6.1 · EPSS 0%)
The fix
Upgrade electron: 41.10.6 · 42.9.2 · 43.4.1 · 44.0.0 · 42.10.0 · 43.5.0 or later on your release line
Who is exposed: electron (npm) < 41.10.6; electron (npm) >= 42.0.0-alpha.1, < 42.9.2; electron (npm) >= 43.0.0-alpha.1, < 43.4.1; electron (npm) >= 44.0.0-alpha.1, < 44.0.0-beta.5
Where it stands
- No known exploitation
Connects to
- Same weakness: CWE-266 (CWE-266). 73 other warnings in 30 days
Why it is Yellow
- CVSS 6.1 medium
- On your watchlist: npm
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| electron | npm | < 41.10.6 | 41.10.6 |
| electron | npm | >= 42.0.0-alpha.1, < 42.9.2 | 42.9.2 |
| electron | npm | >= 43.0.0-alpha.1, < 43.4.1 | 43.4.1 |
| electron | npm | >= 44.0.0-alpha.1, < 44.0.0-beta.5 | 44.0.0-beta.5 |
References
- https://github.com/advisories/GHSA-gr2m-v5gq-v685
- https://github.com/electron/electron/security/advisories/GHSA-gr2m-v5gq-v685
- https://github.com/electron/electron/commit/29fc130569f970e91e355383821a4af0f25724a2
- https://github.com/electron/electron/commit/3ecf3e74f4be6e2360644679b0b4698742be0e1d
- https://github.com/electron/electron/commit/6594d5a5b074cf501da084dc7908d3df0d68a886
- https://github.com/electron/electron/commit/e9c4d3cbe912e18d7c63af78e63e98ae7a48cd3a
- https://github.com/electron/electron/releases/tag/v41.10.6
- https://github.com/electron/electron/releases/tag/v42.9.2
- https://github.com/electron/electron/releases/tag/v43.4.1
- https://github.com/electron/electron/releases/tag/v44.0.0-beta.5
Original 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.
Last activity 29 Sep 2026. Patch Forecast updates every hour.