PatchSiren cyber security CVE debrief
CVE-2026-34768 Electronjs CVE debrief
The Electron framework for cross-platform desktop applications had a vulnerability prior to versions 38.8.6, 39.8.1, 40.8.0, and 41.0.0-beta.8. On Windows, setting login item settings with openAtLogin: true could write the executable path to the Run registry key without proper quoting. This could allow an attacker with write access to an ancestor directory to potentially run a different executable at login. The issue has been patched in the mentioned versions. Affected applications are those installed in non-standard locations on Windows systems.
- Vendor
- Electronjs
- Product
- Electron
- CVSS
- LOW 3.9
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-04-04
- Original CVE updated
- 2026-07-24
- Advisory published
- 2026-04-04
- Advisory updated
- 2026-07-24
Who should care
Developers using Electron framework, especially those with applications installed in non-standard locations on Windows systems, should review their applications' installation paths and update to patched versions. Security teams should monitor for potential exploitation attempts and review system logs for suspicious activity.
Technical summary
The vulnerability exists in the Electron framework's handling of the app.setLoginItemSettings function on Windows. Specifically, when setting openAtLogin to true, the executable path was written to the Run registry key without being properly quoted. This could allow an attacker with write access to an ancestor directory of the application's installation path to manipulate the registry and cause a different executable to run at login instead of the intended application. The issue is particularly relevant for applications installed in directories with spaces in their paths and for standard users on systems where typical system directories are protected against writes.
Defensive priority
Medium
Recommended defensive actions
- Update Electron to version 38.8.6, 39.8.1, 40.8.0, or 41.0.0-beta.8 or later
- Review application installation paths for potential vulnerabilities
- Monitor registry changes for suspicious activity
- Implement additional access controls to prevent unauthorized modifications
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The CVE record and NVD details provide information on the vulnerability and its patches. The Electron advisory on GitHub offers mitigation strategies. Evidence is limited to public sources and vendor advisories. Defenders should verify patch deployment, review system logs for suspicious activity, and monitor for indicators of compromise. Additional verification tasks include reviewing application installation paths and ensuring proper quoting of executable paths in registry settings.
Official resources
-
CVE-2026-34768 CVE record
CVE.org
-
CVE-2026-34768 NVD detail
NVD
-
Source item URL
nvd_modified
-
Mitigation or vendor reference
[email protected] - Vendor Advisory
AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-04-04T00:16:17.500Z and has not been modified since then. The NVD entry is currently Analyzed.