Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. electron
  4. ›
  5. CVE-2026-34766

CVE-2026-34766: Electron: USB device selection not validated against filtered device list

April 3, 2026 (updated April 6, 2026)

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.

References

  • github.com/advisories/GHSA-9899-m83m-qhpj
  • github.com/electron/electron
  • github.com/electron/electron/security/advisories/GHSA-9899-m83m-qhpj
  • nvd.nist.gov/vuln/detail/CVE-2026-34766

Code Behaviors & Features

Detect and mitigate CVE-2026-34766 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 38.8.6, all versions starting from 39.0.0-alpha.1 before 39.8.0, all versions starting from 40.0.0-alpha.1 before 40.7.0, all versions starting from 41.0.0-alpha.1 before 41.0.0-beta.8

Fixed versions

  • 38.8.6
  • 39.8.0
  • 40.7.0
  • 41.0.0-beta.8

Solution

Upgrade to versions 38.8.6, 39.8.0, 40.7.0, 41.0.0-beta.8 or above.

Impact 3.3 LOW

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

npm/electron/CVE-2026-34766.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:57 +0000.