CVE-2026-34766 Details
Description
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.
A vulnerability exists in Electron's handling of the select-usb-device event callback. In versions prior to 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8, the callback did not properly validate the selected device ID against the filtered list provided to the handler. This flaw could allow an application to access a device that either did not meet the renderer's specified filters or was included in the exclusionFilters. While the WebUSB security blocklist remained active, protecting sensitive devices on the blocklist, the vulnerability could impact applications with unconventional device-selection processes.
Users must update to Electron versions 38.8.6, 39.8.0, 40.7.0, or 41.0.0-beta.8 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/electron/electron/security/advisories/GHSA-9899-m83m-qhpj | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-862 | Missing Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| electronjs electron | < 38.8.6 >= 39.0.0, < 39.8.0 >= 40.0.0, < 40.7.0 41.0.0 alpha1 41.0.0 alpha2 41.0.0 alpha3 41.0.0 alpha4 41.0.0 alpha5 41.0.0 alpha6 41.0.0 beta1 41.0.0 beta2 41.0.0 beta3 41.0.0 beta4 41.0.0 beta5 41.0.0 beta6 41.0.0 beta7 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 9, 2026 | Initial Analysis | [email protected] |
| Apr 4, 2026 | New CVE Received | [email protected] |