{"id":"CVE-2026-34779","published":"2026-04-04T00:00:41Z","modified":"2026-04-08T03:55:40Z","title":"Electron: AppleScript injection in app.moveToApplicationsFolder on macOS","vendor":"electron","product":"electron","tier":"tail","description":{"text":"Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.1, 40.8.0, and 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. This issue has been patched in versions 38.8.6, 39.8.1, 40.8.0, and 41.0.0-beta.8.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00167,"percentile":0.06023,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-5rqw-r77c-jp79","tags":["x_refsource_CONFIRM"]}],"priority":{"score":5.8,"factors":[{"name":"EPSS percentile","points":1.2},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"electron","affectedVersions":[{"vendor":"electron","product":"electron","versions":["< 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"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-04-07T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"electron","vulnerableRanges":["<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"],"patched":["38.8.6","39.8.1","40.8.0","41.0.0-beta.8"],"from":["GHSA-5rqw-r77c-jp79"],"provenance":"source"}],"summary":{"text":"Electron, the cross-platform desktop application framework, contains an AppleScript injection flaw in app.moveToApplicationsFolder() on macOS, where its fallback path mishandles certain characters in the application bundle path. Applications are affected only if they call app.moveToApplicationsFolder(); an attacker who can supply a crafted launch path, with the user accepting the move-to-Applications prompt, can execute arbitrary AppleScript under the conditions described.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:32Z"},"euvd":{"id":"EUVD-2026-18957","exploited":false,"provenance":"source"}}