electron-updater allows for automatic updates for Electron apps. The file…
Historical advisory recorded 25 Oct 2026 00:17:22 UTC. Read the latest advisory.
nvd · CVE-2024-39698
Publishedelectron-updater allows for automatic updates for Electron apps. The file `packages/electron-updater/src/windowsExecutableCodeSignatureVerifier.ts` implements the signature validation routine for Electron applications on Windows. Because of the surrounding shell, a first pass by `cmd.exe` expands any environment variable found in command-line above. This creates a situation where `verifySignature()` can be tricked into validating the certificate of a different file than the one that was just downloaded. If the step is successful, the malicious update will be executed even if its signature is invalid. This attack assumes a compromised update manifest (server compromise, Man-in-the-Middle attack if fetched over HTTP, Cross-Site Scripting to point the application to a malicious updater server, etc.). The patch is available starting from 6.3.0-alpha.6.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2024-39698
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-154 · CWE-295
Original publisher date fields
published: 2024-07-09T18:15:10.863
lastModified: 2026-06-17T07:42:29.710
7 source CPE criteria · context only
- cpe:2.3:a:electron:electron-builder:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:electron:electron-builder:6.3.0:alpha0:*:*:*:node.js:*:*
- cpe:2.3:a:electron:electron-builder:6.3.0:alpha1:*:*:*:node.js:*:*
- cpe:2.3:a:electron:electron-builder:6.3.0:alpha2:*:*:*:node.js:*:*
- cpe:2.3:a:electron:electron-builder:6.3.0:alpha3:*:*:*:node.js:*:*
- cpe:2.3:a:electron:electron-builder:6.3.0:alpha4:*:*:*:node.js:*:*
- cpe:2.3:a:electron:electron-builder:6.3.0:alpha5:*:*:*:node.js:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON