PatchSiren cyber security CVE debrief
CVE-2026-34773 electron CVE debrief
CVE-2026-34773 is a medium-severity vulnerability in the Electron framework that allows protocol handler hijacking on Windows systems. The vulnerability exists in the app.setAsDefaultProtocolClient() function, which did not validate the protocol name before writing to the registry. This allows an attacker to write to arbitrary subkeys under HKCUSoftwareClasses, potentially hijacking existing protocol handlers. The vulnerability affects Electron versions prior to 38.8.6, 39.8.1, 40.8.1, and 41.0.0.
- Vendor
- electron
- Product
- Unknown
- CVSS
- MEDIUM 4.7
- 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 and administrators using Electron framework for building cross-platform desktop applications, especially those using Windows systems, should be aware of this vulnerability. Apps that pass untrusted input as the protocol name to app.setAsDefaultProtocolClient() are potentially affected.
Technical summary
The vulnerability is caused by the lack of validation of the protocol name in the app.setAsDefaultProtocolClient() function. This allows an attacker to write to arbitrary subkeys under HKCUSoftwareClasses, potentially hijacking existing protocol handlers. The vulnerability has a CVSS score of 4.7 and is classified as CWE-74. Affected applications are those that pass untrusted input as the protocol name to app.setAsDefaultProtocolClient(). The issue has been patched in Electron versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0. Developers should validate protocol names and consider implementing compensating controls.
Defensive priority
Medium priority should be given to patching or mitigating this vulnerability, as it can be used for protocol handler hijacking.
Recommended defensive actions
- Apply patches: Upgrade to Electron versions 38.8.6, 39.8.1, 40.8.1, or 41.0.0 or later.
- Validate protocol names: Ensure that protocol names passed to app.setAsDefaultProtocolClient() are validated and sanitized.
- Monitor registry changes: Monitor registry changes to detect potential protocol handler hijacking attempts.
- Use compensating controls: Implement compensating controls, such as using a whitelist of allowed protocol handlers.
- Review asset inventory: Identify and review Electron-based applications in your environment.
- Perform exposure review: Assess the potential impact of this vulnerability on your systems.
- Track exceptions: Monitor and track exceptions related to protocol handler hijacking attempts.
Evidence notes
The vulnerability is documented in the Electron security advisory GHSA-mwmh-mq4g-g6gr. The CVE record and NVD detail provide additional information on the vulnerability. The issue was patched in Electron versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0. No additional information on exploitation or affected scope is available. Defenders should verify patched versions are deployed and monitor for unusual registry changes.
Official resources
-
CVE-2026-34773 CVE record
CVE.org
-
CVE-2026-34773 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:18.287Z and has not been modified since then. The NVD entry is currently Analyzed.