CVE-2026-34779 Details
Description
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.
A vulnerability in Electron's app.moveToApplicationsFolder() function on macOS prior to versions 38.8.6, 39.8.1, 40.8.0, and 41.0.0-beta.8 allows for arbitrary execution of AppleScript. This issue arises because the function's fallback path does not correctly manage certain characters in the application bundle path. If an application using this API is tricked into accepting the move-to-Applications prompt, it could execute crafted AppleScript commands.
Users must update to Electron versions 38.8.6, 39.8.1, 40.8.0, or 41.0.0-beta.8 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/electron/electron/security/advisories/GHSA-5rqw-r77c-jp79 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| electronjs electron | < 38.8.6 >= 39.0.0, < 39.8.1 >= 40.0.0, < 40.8.0 41.0.0 alpha1 41.0.0 alpha2 41.0.0 alpha3 41.0.0 alpha4 41.0.0 alpha5 41.0.0 alpha6 41.0.0 beta1 41.0.0 beta2 41.0.0 beta3 41.0.0 beta4 41.0.0 beta5 41.0.0 beta6 41.0.0 beta7 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 14, 2026 | Initial Analysis | [email protected] |
| Apr 4, 2026 | New CVE Received | [email protected] |