JLSEC-2026-1813: High severity julia/electron_jll vulnerability
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.9, 40.9.2, 41.2.2, and 42.0.0-beta.5, apps that expose Promise-returning functions to web content via contextBridge may be vulnerable to a context isolation bypass. Untrusted web content could obtain access to the isolated preload world and, through it, every capability the preload script has. In renderers without a sandbox, or with nodeIntegration enabled, this may escalate to Node.js access. Apps are affected if they expose Promise-returning functions via contextBridge, the standard pattern for wrapping ipcRenderer.invoke, in windows that load untrusted content. This issue is fixed in versions 39.8.9, 40.9.2, 41.2.2, and 42.0.0-beta.5.
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 39.8.9 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 40.9.2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 41.2.2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 42.0.0-beta.5
Event History
Frequently Asked Questions
Which applications are actually exposed to this issue?
An app is affected when it exposes Promise-returning functions through contextBridge, including the common pattern of wrapping ipcRenderer.invoke, in a window that loads untrusted web content. Apps that do not combine those conditions are not identified as affected by the available information.
What can an attacker gain if exploitation succeeds?
Untrusted web content may access the isolated preload world and all capabilities available to the preload script. In a renderer without a sandbox or with nodeIntegration enabled, this can further escalate to Node.js access.
Do attackers need prior access or user interaction?
The supplied vector indicates network attackability with no privileges and no user interaction required, although attack complexity is high. Exploitation depends on the application loading untrusted web content in an affected contextBridge configuration.
Which versions contain the fix?
The issue is fixed in Electron versions 39.8.9, 40.9.2, 41.2.2, and 42.0.0-beta.5. Versions before those releases are affected when the relevant application conditions are present.