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.
Published: 2026-10-13
Score: 6.7 Medium
EPSS: n/a
KEV: No
Impact: Local Privilege Escalation via File Overwrite
Action: Immediate Patch
AI Analysis

Impact

The vulnerability is a race condition in the Squirrel.Mac update mechanism of Electron. The privileged ShipIt helper does not bind the validated update target to a single, canonical application-bundle path, allowing a local attacker to redirect a root‑level write and overwrite files belonging to another application. This flaw is a classic example of a timing-based race condition (CWE-367) and can lead to integrity compromise or privileged escalation on a local machine.

Affected Systems

Electron framework applications on macOS that use Squirrel.Mac for automatic updates are affected, provided they are running a version prior to 39.8.10, 41.10.5, or 42.0.0‑beta.2. Windows or Linux Electron apps, and macOS apps that do not employ Squirrel.Mac, are not impacted. The issue has been fixed in the referenced Electron releases.

Risk and Exploitability

The CVSS score of 6.7 reflects moderate severity; the exploit requires local access and exploitation of the privileged ShipIt helper. The EPSS score is currently unavailable, but the lack of a public KEV listing suggests limited widespread exploitation. Nevertheless, a local attacker with sufficient privileges could leverage the race to tamper with other applications, making timely remediation essential.

Generated by OpenCVE AI on October 13, 2026 at 18:36 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Electron runtime to at least version 39.8.10, 41.10.5, or 42.0.0‑beta.2 to apply the fix.
  • If an upgrade is not immediately possible, disable automatic updates via Squirrel.Mac in the application configuration to prevent the race condition from being triggered.
  • Audit and constrain the privileges of the ShipIt helper so it does not run with elevated rights when the application is not performing an update, and consider running the application within a sandboxed environment to limit potential damage.

Generated by OpenCVE AI on October 13, 2026 at 18:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-vv43-5jgx-7qv8 Electron: Local race condition in Squirrel.Mac update installation on macOS
History

Tue, 13 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
First Time appeared Electron
Electron electron
Vendors & Products Electron
Electron electron

Tue, 13 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
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.
Title Electron: Local race condition in Squirrel.Mac update installation on macOS
Weaknesses CWE-367
References
Metrics cvssV3_1

{'score': 6.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H'}


Subscriptions

Electron Electron
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-13T15:52:46.436Z

Reserved: 2026-09-29T16:10:04.075Z

Link: CVE-2026-102672

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-13T16:17:09.343

Modified: 2026-10-13T16:17:09.343

Link: CVE-2026-102672

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T18:15:16Z

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition