electron
Affected
- introduced
0, fixed39.8.10(semver)
Fixed versions
39.8.10
Fix
- Fixed version
39.8.10npm install [email protected]
Advisory
Also known as: CVE-2026-102672
Electron: Local race condition in Squirrel.Mac update installation on macOS
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.10For more information
If you have any questions or comments about this advisory, email us at [[email protected]](mailto:[email protected])
Medium Basis: The source's own band: MODERATE
0, fixed 39.8.10 (semver)39.8.10
39.8.10npm install [email protected]40.0.0-alpha.1, fixed 41.10.5 (semver)41.10.5
41.10.5npm install [email protected]42.0.0-alpha.1, fixed 42.0.0-beta.2 (semver)42.0.0-beta.2
42.0.0-beta.2npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0