JLSEC-2026-1796: High severity julia/electron_jll vulnerability
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 Windows, app.setLoginItemSettings({openAtLogin: true}) wrote the executable path to the Run registry key without quoting. If the app is installed to a path containing spaces, an attacker with write access to an ancestor directory may be able to cause a different executable to run at login instead of the intended app. On a default Windows install, standard system directories are protected against writes by standard users, so exploitation typically requires a non-standard install location. This issue has been patched in versions 38.8.6, 39.8.1, 40.8.0, and 41.0.0-beta.8.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 38.8.6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 39.8.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 40.8.0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 41.0.0-beta.8
Event History
Frequently Asked Questions
Which installations are most exposed to this issue?
Windows applications that enable openAtLogin and are installed in a path containing spaces are affected before the fixed Electron versions. Exploitation typically requires a non-standard installation location, because standard Windows system directories are normally protected from writes by standard users.
What access does an attacker need to exploit this?
The attacker needs write access to an ancestor directory of the application's installation path. They may then be able to cause a different executable to run at user login instead of the intended application.
Are default Windows installations generally affected?
Default Windows system directories are protected against writes by standard users, so they are not typically exploitable by a standard user under the described conditions. Risk is higher where the application is installed in a writable or otherwise non-standard location.
Which Electron versions contain the fix?
The issue is patched in Electron 38.8.6, 39.8.1, 40.8.0, and 41.0.0-beta.8.