CVE-2026-102672
Electron: Local race condition in Squirrel.Mac update installation on macOS
Description
Impact
On macOS, Electron bundles the Squirrel.Mac auto-update framework, whose privileged ShipIt helper performs the final step of an update as root. A local attacker could cause that helper to overwrite a different application's files, as root, instead of the app that started the update. Exploitation requires local access to the machine.
Apps are only affected on macOS if they ship Squirrel.Mac-based auto-updates. Apps on other platforms, or that do not use Squirrel.Mac auto-updates, are not affected.
Workarounds
There are no app side workarounds, you must update to a patched version of Electron.
Fixed Versions
42.0.0-beta.241.10.539.8.10
For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.webjars.npm » electronvia npm electron | < 39.8.10>= 40.0.0-alpha.1, < 41.10.5>= 42.0.0-alpha.1, < 42.0.0-beta.2 | 39.8.10, 41.10.5, 42.0.0-beta.2 |
Blast radius
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Package | electron/electron | github.com |
| Web | electron/electron advisory GHSA-vv43-5jgx-7qv8 | github.com |
| Web | electron/electron pull request #50745 | github.com |
| Web | electron/electron commit 01faabf | github.com |
| Web | electron/electron commit 15e2928 | github.com |
| Web | electron/electron commit a0f9ff4 | github.com |
| Web | electron/electron commit b8f25c4 | github.com |
| Web | electron/electron release v39.8.10 | github.com |
| Web | electron/electron release v41.10.5 | github.com |
| Web | electron/electron release v42.0.0-beta.2 | github.com |
