GHSA-r4pf-3v7r-hh55 · Severity: high · Ecosystem: npm — electron-builder's NSIS installer - execute arbitrary code on the target machine (Windows only)
electron-builder is a solution to package and build a ready for distribution Electron, Proton Native app for macOS, Windows and Linux. A vulnerability that only affects eletron-builder prior to 24.13.2 in Windows, the NSIS installer makes a system call to open cmd.exe via NSExec in the `.nsh` installer script. NSExec by default searches the current directory of where the installer is located before searching `PATH`. This means that if an attacker can place a malicious executable file named cmd.exe in the same folder as the installer, the installer will run the malicious file. Version 24.13.2 fixes this issue. No known workaround exists. The code executes at the installer-level before the app is present on the system, so there's no way to check if it exists in a current installer.
Conclusion & alert: CVE-2024-27303 is rated Low Risk (36.2/100): CVSS High severity, with low exploitation likelihood (EPSS 0.28%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.21% | 0.28% | +0.07% |
| 2 | 2026-03-04 | 0.05% | 0.21% | +0.17% |
| 3 | 2026-03-01 | — | 0.05% | — |
Full EPSS history (27 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.3 | 3.1 | HIGH |
|
1.3 | 5.9 | [email protected] |
GHSA-r4pf-3v7r-hh55 · Severity: high · Ecosystem: npm — electron-builder's NSIS installer - execute arbitrary code on the target machine (Windows only)
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| electron | electron-builder | < 24.13.2 | cpe:2.3:a:electron:electron-builder:*:*:*:*:*:node.js:*:* |