{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-34766","id":"CVE-2026-34766","title":"Electron: USB device selection not validated against filtered device list","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","descriptionLong":"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.","published":"2026-04-03T23:35:10.204Z","updated":"2026-10-28T10:49:35.514199229Z","reserved":"2026-03-30T19:54:55.554Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"low","source":"GitHub_M"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"low","source":"github.com"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"low","source":"GitHub"}],"rating":"low","products":["electron"],"affectedProducts":[{"vendor":"electron","product":"electron","defaultStatus":null,"versions":[{"version":"< 38.8.6","status":"affected"},{"version":">= 39.0.0-alpha.1, < 39.8.0","status":"affected"},{"version":">= 40.0.0-alpha.1, < 40.7.0","status":"affected"},{"version":">= 41.0.0-alpha.1, < 41.0.0-beta.8","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":["<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"],"fixed":["38.8.6","39.8.0","40.7.0","41.0.0-beta.8"],"advisory":"GHSA-9899-m83m-qhpj"}],"cwes":["CWE-862"],"aliases":["GHSA-9899-m83m-qhpj"],"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-9899-m83m-qhpj","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34766.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34766","tags":["advisory"]},{"url":"https://github.com/electron/electron","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00165,"epssPercentile":0.05784,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-34766","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34766","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-34766","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9899-m83m-qhpj","ok":true,"note":"GHSA-9899-m83m-qhpj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-34766","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}