Loading advisory.
Loading advisory.
Electron: Unquoted executable path in app.setLoginItemSettings on Windows
On Windows, app.setLoginItemSettings({openAtLogin: true}) wrote the executable path to the Run registry key without quoting.
Published 2026-04-03 02:38 UTC · Modified 2026-04-06 23:19 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| electron | npm | < 38.8.6 >= 39.0.0-alpha.1, < 39.8.1 >= 40.0.0-alpha.1, < 40.8.0 >= 41.0.0-alpha.1, < 41.0.0-beta.8 | 38.8.6, 39.8.1, 40.8.0, 41.0.0-beta.8 | npm install electron@38.8.6npm install electron@39.8.1npm install electron@40.8.0npm install electron@41.0.0-beta.8 |
On Windows, app.setLoginItemSettings({openAtLogin: true}) wrote the executable path to the Run registry key without quoting. If the app is installed to a path containing spaces, an attacker with write access to an ancestor directory may be able to cause a different executable to run at login instead of the intended app.
On a default Windows install, standard system directories are protected against writes by standard users, so exploitation typically requires a non-standard install location.
Install the application to a path without spaces, or to a location where all ancestor directories are protected against unauthorized writes.
41.0.0-beta.8
40.8.0
39.8.1
38.8.6
If there are any questions or comments about this advisory, send an email to security@electronjs.org
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.001 on 2026-11-24 to 0.002 on 2026-11-30, over 3 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.001 | first score | v2026.06.15 |
| 2026-11-26 | 0.001 | 0.001 | v2026.06.15 |
| 2026-11-30 | 0.002 | 0.001 | v2026.06.15 |