Skip to content

CVE-2026-102672 Electron: Local race condition in Squirrel.Mac update installation on macOS

MediumCVSS 6.7 EPSS 0.09%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Red Hat

Description

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.10, 41.10.5, and 42.0.0-beta.2, Electron applications on macOS that use Squirrel.Mac-based automatic updates are vulnerable to a local race in the privileged ShipIt helper. The helper did not bind the validated update target to one canonical application-bundle path for the full installation, allowing a local attacker to redirect the root-level write so that it overwrites another application's files instead of the application that initiated the update. Applications on other platforms and macOS applications that do not use Squirrel.Mac-based automatic updates are not affected. This issue is fixed in versions 39.8.10, 41.10.5, and 42.0.0-beta.2.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm electron(npm) < 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 Fixed
electron = < 39.8.10; = >= 40.0.0-alpha.1, < 41.10.5; = >= 42.0.0-alpha.1, < 42.0.0-beta.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
electron = < 39.8.10 No fix listed
electron = >= 40.0.0-alpha.1, < 41.10.5 No fix listed
electron = >= 42.0.0-alpha.1, < 42.0.0-beta.2 No fix listed
npm electron(npm) < 39.8.10 39.8.10
npm electron(npm) >= 40.0.0-alpha.1, < 41.10.5 41.10.5
npm electron(npm) >= 42.0.0-alpha.1, < 42.0.0-beta.2 42.0.0-beta.2

References