{"id":"CVE-2026-102672","published":"2026-10-13T15:52:46Z","modified":"2026-10-13T20:22:22Z","title":"Electron: Local race condition in Squirrel.Mac update installation on macOS","vendor":"electron","product":"electron","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00118,"percentile":0.00735,"provenance":"source"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-vv43-5jgx-7qv8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/electron/electron/pull/50745","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/commit/01faabfc250801a980fc94d64608046c67fc1cd9","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/commit/15e2928a5c5f01759107b414010e220d90d59cef","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/commit/a0f9ff4cc0340545008424232d49caadd9c0c767","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/commit/b8f25c4cedb2e0f5f475912b709aba19c57c26be","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/releases/tag/v39.8.10","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/releases/tag/v41.10.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/electron/electron/releases/tag/v42.0.0-beta.2","tags":["x_refsource_MISC"]}],"priority":{"score":4.8,"factors":[{"name":"EPSS percentile","points":0.15},{"name":"CVSS severity","points":4.69}]},"vendorSlug":"electron","affectedVersions":[{"vendor":"electron","product":"electron","versions":["< 39.8.10",">= 40.0.0-alpha.1, < 41.10.5",">= 42.0.0-alpha.1, < 42.0.0-beta.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-13T20:14:15.326288Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"electron","vulnerableRanges":["<39.8.10",">=40.0.0-alpha.1, <41.10.5",">=42.0.0-alpha.1, <42.0.0-beta.2"],"patched":["39.8.10","41.10.5","42.0.0-beta.2"],"from":["GHSA-vv43-5jgx-7qv8"],"provenance":"source"}],"summary":{"text":"Electron's Squirrel.Mac automatic update installation on macOS contains a time-of-check to time-of-use race condition in the privileged ShipIt helper, which fails to bind the validated update target to one canonical application-bundle path for the whole installation. A local attacker who already has access to the machine and can win the race (with low privileges and some user interaction required) can redirect the helper's root-level write so it overwrites files belonging to a different application instead of the one that initiated the update.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:55Z"},"euvd":{"id":"EUVD-2026-98837","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-70599","published":"2026-08-05","fixed":"42.0.0-beta.1","kev":false},{"cve":"CVE-2026-70603","published":"2026-08-05","fixed":"42.0.0-beta.1","kev":false},{"cve":"CVE-2026-70609","published":"2026-08-05","fixed":"42.0.0-beta.1","kev":false,"link":{"from":"CVE-2026-70609","to":"CVE-2026-102672","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"42.0.0-beta.1","toFixed":"42.0.0-beta.2","daysApart":69}]}},{"cve":"CVE-2026-102672","published":"2026-10-13","fixed":"42.0.0-beta.2","kev":false},{"cve":"CVE-2026-70597","published":"2026-08-05","fixed":"42.0.0-beta.3","kev":false},{"cve":"CVE-2026-70598","published":"2026-08-05","fixed":"42.0.0-beta.3","kev":false},{"cve":"CVE-2026-70600","published":"2026-08-05","fixed":"42.0.0-beta.3","kev":false},{"cve":"CVE-2026-102673","published":"2026-09-29","fixed":"43.0.0","kev":false,"link":{"from":"CVE-2026-102673","to":"CVE-2026-102672","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"41.10.4","toFixed":"41.10.5","daysApart":14}]}}],"package":"npm:electron"}}