---
id: CVE-2026-102672
title: >-
  Electron is a framework for writing cross-platform desktop applications using
  JavaScript, HTML and CSS
summary: >-
  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 vulner…
severity: medium
cvss: 6.7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-367
vendor: electron
product: electron
affected:
  - electron < 39.8.10
  - 'electron >= 40.0.0-alpha.1, < 41.10.5'
  - 'electron >= 42.0.0-alpha.1, < 42.0.0-beta.2'
patched:
  - electron 39.8.10
  - electron 41.10.5
  - electron 42.0.0-beta.2
published: '2026-10-13'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T20:02:37.630'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-102672'
references:
  - url: >-
      https://github.com/electron/electron/commit/01faabfc250801a980fc94d64608046c67fc1cd9
    label: security-advisories@github.com
  - url: >-
      https://github.com/electron/electron/commit/15e2928a5c5f01759107b414010e220d90d59cef
    label: security-advisories@github.com
  - url: >-
      https://github.com/electron/electron/commit/a0f9ff4cc0340545008424232d49caadd9c0c767
    label: security-advisories@github.com
  - url: >-
      https://github.com/electron/electron/commit/b8f25c4cedb2e0f5f475912b709aba19c57c26be
    label: security-advisories@github.com
  - url: 'https://github.com/electron/electron/pull/50745'
    label: security-advisories@github.com
  - url: 'https://github.com/electron/electron/releases/tag/v39.8.10'
    label: security-advisories@github.com
  - url: 'https://github.com/electron/electron/releases/tag/v41.10.5'
    label: security-advisories@github.com
  - url: 'https://github.com/electron/electron/releases/tag/v42.0.0-beta.2'
    label: security-advisories@github.com
  - url: >-
      https://github.com/electron/electron/security/advisories/GHSA-vv43-5jgx-7qv8
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-vv43-5jgx-7qv8'
tags:
  - nvd
  - ghsa
  - npm
  - cve.org
epss: 0.00093
epssPercentile: 0.00526
aliases:
  - GHSA-vv43-5jgx-7qv8
ecosystem: npm
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-13T20:14:15.326288Z'
ingestedAt: '2026-09-29T18:42:35.832Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-102672)

Affected packages:

- `electron < 39.8.10`
- `electron >= 40.0.0-alpha.1, < 41.10.5`
- `electron >= 42.0.0-alpha.1, < 42.0.0-beta.2`

Patched in:

- `electron 39.8.10`
- `electron 41.10.5`
- `electron 42.0.0-beta.2`

Source: https://github.com/advisories/GHSA-vv43-5jgx-7qv8
