CVE-2026-102672
published medium CVSS 3.1 · 6.7Electron: Local race condition in Squirrel.Mac update installation on macOS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| electron | — | electron< 39.8.10 · >= 40.0.0-alpha.1, < 41.10.5 · >= 42.0.0-alpha.1, < 42.0.0-beta.2 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.7 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| electron | electron | < 39.8.10 (affected)>= 40.0.0-alpha.1, < 41.10.5 (affected)>= 42.0.0-alpha.1, < 42.0.0-beta.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-367 CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
References
9- https://github.com/electron/electron/commit/01faabfc250801a980fc94d64608046c67fc1cd9
- https://github.com/electron/electron/commit/15e2928a5c5f01759107b414010e220d90d59cef
- https://github.com/electron/electron/commit/a0f9ff4cc0340545008424232d49caadd9c0c767
- https://github.com/electron/electron/commit/b8f25c4cedb2e0f5f475912b709aba19c57c26be
- https://github.com/electron/electron/pull/50745
- https://github.com/electron/electron/releases/tag/v39.8.10
- https://github.com/electron/electron/releases/tag/v41.10.5
- https://github.com/electron/electron/releases/tag/v42.0.0-beta.2
- https://github.com/electron/electron/security/advisories/GHSA-vv43-5jgx-7qv8
Provider assertions
2GitHub_M · cna
Electron: Local race condition in Squirrel.Mac update installation on macOS
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2a7dd86161e853d98547c6b730cb31701a003c9cc79fd338c223d79029333b49
- Ingested
- 13 Oct 2026, 20:47:20 UTC
- Source record
- Official CVE record