CVE-2026-102672
electron: Electron: Arbitrary file overwrite via race condition in ShipIt update helper
Overview
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.
Source: OX vulnerability database
Severity
6.7 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness: CWE-367
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | electron | <39.8.10>=40.0.0-alpha.1, <41.10.5>=42.0.0-alpha.1, <42.0.0-beta.2 | 39.8.1041.10.542.0.0-beta.2 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-102672
- github.com https://github.com/electron/electron
- github.com https://github.com/electron/electron/commit/01faabfc250801a980fc94d64608046c67fc1cd9
- github.com https://github.com/electron/electron/commit/15e2928a5c5f01759107b414010e220d90d59cef
- github.com https://github.com/electron/electron/commit/a0f9ff4cc0340545008424232d49caadd9c0c767
- github.com https://github.com/electron/electron/commit/b8f25c4cedb2e0f5f475912b709aba19c57c26be
- github.com https://github.com/electron/electron/pull/50745
- github.com https://github.com/electron/electron/releases/tag/v39.8.10
- github.com https://github.com/electron/electron/releases/tag/v41.10.5
- github.com https://github.com/electron/electron/releases/tag/v42.0.0-beta.2
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.