Loading advisory.
Loading advisory.
Electron: AppleScript injection in app.moveToApplicationsFolder on macOS
On macOS, app.moveToApplicationsFolder() used an AppleScript fallback path that did not properly handle certain characters in the application bundle path.
Published 2026-04-03 02:46 UTC · Modified 2026-04-08 03:55 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 macOS, app.moveToApplicationsFolder() used an AppleScript fallback path that did not properly handle certain characters in the application bundle path. Under specific conditions, a crafted launch path could lead to arbitrary AppleScript execution when the user accepted the move-to-Applications prompt.
Apps are only affected if they call app.moveToApplicationsFolder(). Apps that do not use this API are not affected.
There are no app side workarounds, developers must update to a patched version of Electron.
41.0.0-beta.8
40.8.0
39.8.1
38.8.6
If there are any questions or comments about this advisory, please email 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.002 on 2026-11-24 to 0.002 on 2026-11-30, over 3 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.002 | first score | v2026.06.15 |
| 2026-11-26 | 0.002 | 0.002 | v2026.06.15 |
| 2026-11-30 | 0.002 | 0.002 | v2026.06.15 |