CVE-2026-34766 json
Electron: USB device selection not validated against filtered device list
published 2026-04-03 7 mo ago modified 2026-07-24 3 mo ago also EUVD-2026-18931 , GHSA-9899-m83m-qhpj
- cvss
- 3.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 5%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm electron 38.8.6, 39.8.0, 40.7.0, 41.0.0-beta.8
- atom electron 38.8.6, 39.8.0, 40.7.0, 41.0.0-beta.8
- electronjs electron 38.8.6, 39.8.0, 40.7.0, 41.0.0-beta.8
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-34766 updated cvss 3.3
Electron: Electron: Unauthorized USB device access via select-usb-device event callback validation bypass
-
Red Hat Build of Podman Desktop podman-desktop-macos-1-0, podman-desktop-windows-1-0 Red Hat Build of Podman Desktop - Tech Preview rhdesktop/rh-podman-desktop-ext-openshift-local-rhel10affected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 5% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | electron | <38.8.6 >=39.0.0-alpha.1, <39.8.0 >=40.0.0-alpha.1, <40.7.0 >=41.0.0-alpha.1, <41.0.0-beta.8 |
38.8.6 39.8.0 40.7.0 41.0.0-beta.8 |
Affected products
- electron electron
Classification
- Weakness
-
- CWE-862 Missing Authorization
References
-
github.com
/electron/electron/security/advisories/GHSA-9899-m83m-qhpj
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-34766
advisory
-
github.com
/electron/electron
package
Sources
- CVE List CVE-2026-34766
- GitHub Advisory GHSA-9899-m83m-qhpj
- NVD CVE-2026-34766
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.