Back to CVE records
Medium 6.5Published Apr 3, 2026

CVE-2026-34779Electron: AppleScript injection in app.moveToApplicationsFolder on macOS

Updated under an hour ago ()

Does this affect you?

It affects electron and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
6.5 MEDIUM (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
Weakness (CWE)
CWE-78
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Apr 7, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
electron electron
electron:electron (from the name)
before 38.8.6; from 39.0.0-alpha.1, < 39.8.1; from 40.0.0-alpha.1, < 40.8.0; from 41.0.0-alpha.1, < 41.0.0-beta.8
CNA record
electronjs electron
electronjs:electron
before 38.8.6; from 39.0.0 before 39.8.1; from 40.0.0 before 40.8.0; 41.0.0; 41.0.0; 41.0.0; 41.0.0; 41.0.0; and 8 more ranges
NVD

References

  • x-refsource-confirm, vendor-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.