Advisory

GHSA-vv43-5jgx-7qv8

Also known as: CVE-2026-102672

Summary

Electron: Local race condition in Squirrel.Mac update installation on macOS

Details

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.2
  • 41.10.5
  • 39.8.10

For more information

If you have any questions or comments about this advisory, email us at [[email protected]](mailto:[email protected])

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-09-29 18:06 UTC
Modified
2026-09-29 18:15 UTC

Affected packages and fixes

electron

npm · All systems

Affected

  • introduced 0, fixed 39.8.10 (semver)

Fixed versions

39.8.10

Fix

electron

npm · All systems

Affected

  • introduced 40.0.0-alpha.1, fixed 41.10.5 (semver)

Fixed versions

41.10.5

Fix

electron

npm · All systems

Affected

  • introduced 42.0.0-alpha.1, fixed 42.0.0-beta.2 (semver)

Fixed versions

42.0.0-beta.2

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences