CVE-2026-102674 is a high-severity (CVSS 8.2) CWE-266 vulnerability in electron. A fix is available for electron — see the affected versions and patch details below.
Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-102674.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2026-102674 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 394,803 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
electronnpmDescription
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 [email protected]
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | electron | all versions | 41.10.6npm install electron@41.10.6 |
| 📦npm | electron | ≥ 42.0.0-alpha.1&&< 42.9.2 | 42.9.2npm install electron@42.9.2 |
| 📦npm | electron | ≥ 43.0.0-alpha.1&&< 43.4.1 | 43.4.1npm install electron@43.4.1 |
| 📦npm | electron | ≥ 44.0.0-alpha.1&&< 44.0.0-beta.5 | 44.0.0-beta.5npm install electron@44.0.0-beta.5 |
Affected Products
electronelectronjsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for electron, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update electron to 41.10.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-102674 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
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…
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.Source: Red Hat security advisory for CVE-2026-102674 (CC BY 4.0)
Frequently Asked Questions
Is CVE-2026-102674 in your dependencies?
Find it across npm, including transitive dependencies.