CVE-2026-102672Electron time-of-check time-of-use race condition
CVSS score
6.7
Medium
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.09%
0.09% chance of exploitation in the next 30 days, higher than 0.50% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running Electron and compare its version with the affected versions.
Update to a fixed version
- Update Electron to 39.8.10, 41.10.5, 42.0.0-beta.2 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| electron Electron | < 39.8.10 · >= 40.0.0-alpha.1, < 41.10.5 · >= 42.0.0-alpha.1, < 42.0.0-beta.2 |
Weakness
- CWE-367 time-of-check time-of-use race condition
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-102672 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.1% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-102672?
CVE-2026-102672 has a CVSS 3.1 base score of 6.7 (medium).
Which versions are affected?
Electron Electron (< 39.8.10; >= 40.0.0-alpha.1, < 41.10.5; >= 42.0.0-alpha.1, < 42.0.0-beta.2)
Is there a patch for CVE-2026-102672?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/electron/electron/commit/01faabfc250801a980fc94d64608046c67fc1cd9
- github.com/electron/electron/commit/15e2928a5c5f01759107b414010e220d90d59cef
- github.com/electron/electron/commit/a0f9ff4cc0340545008424232d49caadd9c0c767
- github.com/electron/electron/commit/b8f25c4cedb2e0f5f475912b709aba19c57c26be
- github.com/electron/electron/pull/50745
- github.com/electron/electron/releases/tag/v39.8.10
- github.com/electron/electron/releases/tag/v41.10.5
- github.com/electron/electron/releases/tag/v42.0.0-beta.2
- github.com/electron/electron/security/advisories/GHSA-vv43-5jgx-7qv8
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.