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

High 8.2 Published Updated

Attackers can bypass sandbox restrictions in Electron apps by opening windows from sandboxed documents, gaining full application origin access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-102674?

CVE-2026-102674 is a high-severity vulnerability in Electronjs Electron, published on 29 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-693, CWE-266

Which versions are affected by CVE-2026-102674?

8 open source packages ship an affected version, including electron. It affects 1 product.

PackageAffectedFixed in
electron npmAll versions41.10.6
electron npmAll versions41.10.6
electron npmFrom 42.0.0-alpha.142.9.2
electron npmFrom 42.0.0-alpha.142.9.2
electron npmFrom 43.0.0-alpha.143.4.1
electron npmFrom 43.0.0-alpha.143.4.1
2 more packages
electron npmFrom 44.0.0-alpha.144.0.0-beta.5
electron npmFrom 44.0.0-alpha.144.0.0-beta.5

Products include Electronjs Electron.

How do I fix CVE-2026-102674?

Upgrade electron to a fixed version for your release line: 41.10.6, 42.9.2, 43.4.1 or 44.0.0-beta.5.

Is CVE-2026-102674 being exploited?

There is no known exploitation of CVE-2026-102674 in the wild and no public exploit code.

All Electronjs Electron vulnerabilities

Sources

Also known as GHSA-gr2m-v5gq-v685.

Is CVE-2026-102674 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free