JLSEC-2026-1801: 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.1, and 41.0.0, on Windows, app.setAsDefaultProtocolClient(protocol) did not validate the protocol name before writing to the registry. Apps that pass untrusted input as the protocol name may allow an attacker to write to arbitrary subkeys under HKCU\Software\Classes\, potentially hijacking existing protocol handlers. Apps are only affected if they call app.setAsDefaultProtocolClient() with a protocol name derived from external or untrusted input. Apps that use a hardcoded protocol name are not affected. This issue has been patched in versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
electron/electronto a version that resolves this vulnerability.Fixed in 38.8.6 - Upgrade
Upgrade
electron/electronto a version that resolves this vulnerability.Fixed in 39.8.1 - Upgrade
Upgrade
electron/electronto a version that resolves this vulnerability.Fixed in 40.8.1 - Upgrade
Upgrade
electron/electronto a version that resolves this vulnerability.Fixed in 41.0.0
Event History
Frequently Asked Questions
Which applications are actually exposed to this issue?
Only Windows applications that pass externally supplied or otherwise untrusted input as the protocol name to app.setAsDefaultProtocolClient() are affected. Applications that use a hardcoded protocol name are not affected.
What could an attacker do if an affected application is present?
An attacker may be able to cause writes to arbitrary subkeys under HKCU\Software\Classes\. This could allow hijacking of existing protocol handlers for the current Windows user.
Which Electron releases contain the fix?
The issue is patched in Electron versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0.