CVE-2026-102674 — Vulnerability in electron — CVE Details
Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.43%). Schedule for your next planned update.
Does your project use an affected electron version?
Paste your package-lock.json to check it for CVE-2026-102674 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
Windows opened from a sandboxed top-level document did not inherit that document's HTML sandbox restrictions, so content that was meant to run sandboxed could open a window with the app's full origin. GHSA-hq2x-r82h-9wj4 covers the same issue for sandboxed iframes.
Apps are only affected if they render untrusted content in a sandboxed top-level document that allows popups. Apps that deny popups from untrusted content with setWindowOpenHandler are not affected.
Workarounds
Return { action: 'deny' } from setWindowOpenHandler for windows opened by untrusted content.
Fixed Versions
44.0.0-beta.543.4.142.9.241.10.6
For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Advisory Timeline
- First published September 29, 2026 (58 days ago).
- Last revised September 29, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install electron@41.10.6
npm install electron@44.0.0-beta.5
npm install electron@43.4.1
npm install electron@42.9.2
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: npm (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-266
- CWE-693Protection Mechanism FailureMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.2 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
References
- https://github.com/electron/electron/security/advisories/GHSA-gr2m-v5gq-v685WEB
- https://github.com/electron/electron/commit/29fc130569f970e91e355383821a4af0f25724a2WEB
- https://github.com/electron/electron/commit/3ecf3e74f4be6e2360644679b0b4698742be0e1dWEB
- https://github.com/electron/electron/commit/6594d5a5b074cf501da084dc7908d3df0d68a886WEB
- https://github.com/electron/electron/commit/e9c4d3cbe912e18d7c63af78e63e98ae7a48cd3aWEB
- https://github.com/electron/electronPACKAGE
- https://github.com/electron/electron/releases/tag/v41.10.6WEB
- https://github.com/electron/electron/releases/tag/v42.9.2WEB
- https://github.com/electron/electron/releases/tag/v43.4.1WEB
- https://github.com/electron/electron/releases/tag/v44.0.0-beta.5WEB
Frequently Asked Questions
- What is CVE-2026-102674?
- Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.2/10).
- How do I check if my project is affected by CVE-2026-102674?
- CVE-2026-102674 affects electron. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-102674 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 28.8% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-54257CRITICAL
Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow
- CVE-2026-83816HIGH
CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE
- CVE-2026-83817HIGH
CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution
- CVE-2026-102676HIGH
Electron: <webview> can enable Node.js integration in Web Workers despite embedder restrictions
- CVE-2026-102673HIGH
Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab
- CVE-2023-4863HIGH
libwebp: OOB write in BuildHuffmanTable
- CVE-2026-34780HIGH
Electron: Context Isolation bypass via contextBridge VideoFrame transfer