CVE-2026-102672

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

Published Oct 13, 2026 CVSS 3.1 · 6.7 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Electron
Electron electron
Vendors & Products Electron
Electron electron
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'}

Weaknesses
  • CWE-367

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 13, 2026, 8:22 PM
Reserved
Sep 29, 2026, 4:10 PM
Status
Awaiting Analysis
Published
Oct 13, 2026, 4:17 PM
Modified
Oct 16, 2026, 8:02 PM