JLSEC-2026-1794: Medium 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.0, 40.7.0, and 41.0.0-beta.8, the select-usb-device event callback did not validate the chosen device ID against the filtered list that was presented to the handler. An app whose handler could be influenced to select a device ID outside the filtered set would grant access to a device that did not match the renderer's requested filters or was listed in exclusionFilters. The WebUSB security blocklist remained enforced regardless, so security-sensitive devices on the blocklist were not affected. The practical impact is limited to apps with unusual device-selection logic. This issue has been patched in versions 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8.
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 38.8.6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 39.8.0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 40.7.0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 41.0.0-beta.8
Event History
Frequently Asked Questions
Which applications are realistically exposed to this issue?
Exposure is limited to Electron applications that use the select-usb-device event and have unusual device-selection logic that can be influenced to choose a device ID outside the filtered list presented to the handler. Applications that do not use this selection flow are not affected by the described issue.
What would an attacker need to do to exploit it?
An attacker would need to influence the application's device-selection handler so that it selects a USB device ID not included in the renderer's requested filters or listed in exclusionFilters. User interaction is required, as reflected by the UI:R vector.
Are security-sensitive USB devices affected?
No. Electron's WebUSB security blocklist continued to be enforced, so devices protected by that blocklist were not accessible through this flaw.
What should be done if an affected application cannot be updated immediately?
Review the application's select-usb-device handler and ensure it only selects device IDs from the filtered list presented to it. Do not allow renderer-influenced logic to select arbitrary device IDs or IDs excluded by the requested filters.
Which patched Electron versions address the issue?
The issue is patched in Electron versions 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8.