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.840.8.039.8.138.8.6If there are any questions or comments about this advisory, please email security@electronjs.org
{
"cwe_ids": [
"CWE-78"
],
"github_reviewed": true,
"github_reviewed_at": "2026-04-03T02:46:16Z",
"nvd_published_at": "2026-04-04T00:16:19Z",
"severity": "MODERATE"
}