{"schemaVersion":3,"id":"CVE-2026-102672","aliases":["GHSA-vv43-5jgx-7qv8"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-10-13T15:52:46.436Z","modified":"2026-10-13T20:22:22.127Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.7,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":6.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":2.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00111,"percentile":0.01238,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-14T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00111,"percentile":0.01238}],"last30":[{"date":"2026-10-14T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00111,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00111,"percentile":0.01238}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition","description":"The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/367.html"}],"affected":[{"vendor":"electron","product":"electron","name":"electron","label":"electron","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 39.8.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 40.0.0-alpha.1, < 41.10.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 42.0.0-alpha.1, < 42.0.0-beta.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 39.8.10 | ≥ 40.0.0-alpha.1, < 41.10.5 | ≥ 42.0.0-alpha.1, < 42.0.0-beta.2","eol":null,"hubHref":"/vendor/electron/electron"},{"vendor":"Npm","product":"electron","name":"electron","label":"electron","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/electron","purlType":"npm","versions":[{"text":"< 39.8.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 40.0.0-alpha.1, < 41.10.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 42.0.0-alpha.1, < 42.0.0-beta.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 39.8.10 | ≥ 40.0.0-alpha.1, < 41.10.5 | ≥ 42.0.0-alpha.1, < 42.0.0-beta.2","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-vv43-5jgx-7qv8","label":"github.com/electron/electron/security/advisories/GHSA-vv43-5jgx-7qv8","hostname":"github.com","tags":["WEB","X Refsource CONFIRM"]},{"url":"https://github.com/electron/electron/pull/50745","label":"github.com/electron/electron/pull/50745","hostname":"github.com","tags":["WEB","X Refsource MISC"]},{"url":"https://github.com/electron/electron/commit/01faabfc250801a980fc94d64608046c67fc1cd9","label":"github.com/electron/electron/commit/01faabfc250801a980fc94d64608046c67fc1cd9","hostname":"github.com","tags":["WEB","X Refsource MISC"]},{"url":"https://github.com/electron/electron/commit/15e2928a5c5f01759107b414010e220d90d59cef","label":"github.com/electron/electron/commit/15e2928a5c5f01759107b414010e220d90d59cef","hostname":"github.com","tags":["WEB","X Refsource MISC"]},{"url":"https://github.com/electron/electron/commit/a0f9ff4cc0340545008424232d49caadd9c0c767","label":"github.com/electron/electron/commit/a0f9ff4cc0340545008424232d49caadd9c0c767","hostname":"github.com","tags":["WEB","X Refsource MISC"]},{"url":"https://github.com/electron/electron/commit/b8f25c4cedb2e0f5f475912b709aba19c57c26be","label":"github.com/electron/electron/commit/b8f25c4cedb2e0f5f475912b709aba19c57c26be","hostname":"github.com","tags":["WEB","X Refsource MISC"]},{"url":"https://github.com/electron/electron","label":"github.com/electron/electron","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/electron/electron/releases/tag/v39.8.10","label":"github.com/electron/electron/releases/tag/v39.8.10","hostname":"github.com","tags":["WEB","X Refsource MISC"]},{"url":"https://github.com/electron/electron/releases/tag/v41.10.5","label":"github.com/electron/electron/releases/tag/v41.10.5","hostname":"github.com","tags":["WEB","X Refsource MISC"]},{"url":"https://github.com/electron/electron/releases/tag/v42.0.0-beta.2","label":"github.com/electron/electron/releases/tag/v42.0.0-beta.2","hostname":"github.com","tags":["WEB","X Refsource MISC"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-13T15:52:46.436Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-13T20:22:22.127Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":27,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T01:38:42.163Z","stale":false,"partial":false}}