JLSEC-2026-1817: Medium severity julia/electron_jll vulnerability
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3, when following HTTP redirects, net.fetch() and net.request() did not restrict which schemes a redirect could target. A remote server could redirect a request to a local resource, and if the app returns or forwards the response body, local file contents could be disclosed. Apps are only affected if they make net requests to attacker-influenced URLs with redirects followed and expose the response body. This issue is fixed in versions 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.
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.8 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 40.9.0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 41.2.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 42.0.0-beta.3
Event History
Frequently Asked Questions
Which applications are actually exposed to local file disclosure?
An application is affected only if it makes net.fetch() or net.request() calls to attacker-influenced URLs, follows redirects, and returns or forwards the response body. Applications that do not meet all of these conditions are not affected by the described disclosure path.
What does an attacker need to exploit this issue?
An attacker needs to control, or cause the application to request, a URL that serves an HTTP redirect to a local resource. The application must then expose the redirected response body for local file contents to be disclosed.
What should be done if upgrading is not immediately possible?
Avoid making net.fetch() or net.request() requests to attacker-influenced URLs when redirects are followed, and do not return or forward response bodies from such requests. Restricting redirect handling prevents the described redirect-to-local-resource path.
Which Electron releases contain fixes?
The issue is fixed in Electron 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.