7.5

CVE-2024-39698: Code Signing Bypass on Windows in electron-updater < 6.3.0-alpha.6

Modified
AliasesGHSA-9jxc-qjr9-vjxq
Published 09-07-2024Last modified 02-08-2024

Vulnerability summary

CVE-2024-39698 is a high (CVSS 7.5) vulnerability in electron-userland electron-builder. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 38.7% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.43%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 09-07-2024
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last modifiedVulnerability information updated.

Description

electron-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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.43%

Chance of exploitation in the next 30 days

Percentile

39%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.43% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Electron Builder

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Electron1 product
  • electron-builder< 6.3.0 | 6.3.0:alpha0 | 6.3.0:alpha1 | 6.3.0:alpha2 | 6.3.0:alpha3 | 6.3.0:alpha4 | 6.3.0:alpha5
Electron-userland1 product
Npm1 product
  • electron-updater< 6.3.0-alpha.6

3 vendors · 3 products

References

6 links