CVE-2026-102672
JSON

6.7medium

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

Severity
6.7medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.09% (higher than 0% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-vv43-5jgx-7qv8

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.

Affected

Product or packageVersionsReported by
electron electron< 39.8.10, >= 40.0.0-alpha.1, < 41.10.5, >= 42.0.0-alpha.1, < 42.0.0-beta.2CVE List
electron (npm)before 39.8.10, from 40.0.0-alpha.1 before 41.10.5, from 42.0.0-alpha.1 before 42.0.0-beta.2GitHub Advisory Database

All scores

GitHub_M6.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
GitHub6.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-367

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database
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 security@electronjs.org

References

Sources

SourceRecordLicence
CVE ListCVE-2026-102672 changed 2026-10-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-vv43-5jgx-7qv8 changed 2026-09-29CC-BY-4.0
NVDCVE-2026-102672 changed 2026-10-16Public domain