GHSA-9899-m83m-qhpj

Suggest an improvement
Source
https://github.com/advisories/GHSA-9899-m83m-qhpj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-9899-m83m-qhpj/GHSA-9899-m83m-qhpj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9899-m83m-qhpj
Aliases
  • CVE-2026-34766
Published
2026-04-03T02:36:52Z
Modified
2026-04-03T02:51:35.452880Z
Severity
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Electron: USB device selection not validated against filtered device list
Details

Impact

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.

Workarounds

There are no app side workarounds, you must update to a patched version of Electron.

Fixed Versions

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

For more information

If there are any questions or comments about this advisory, send an email to security@electronjs.org

Database specific
{
    "cwe_ids": [
        "CWE-862"
    ],
    "github_reviewed": true,
    "nvd_published_at": null,
    "severity": "LOW",
    "github_reviewed_at": "2026-04-03T02:36:52Z"
}
References

Affected packages

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
38.8.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-9899-m83m-qhpj/GHSA-9899-m83m-qhpj.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
39.0.0-alpha.1
Fixed
39.8.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-9899-m83m-qhpj/GHSA-9899-m83m-qhpj.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
40.0.0-alpha.1
Fixed
40.7.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-9899-m83m-qhpj/GHSA-9899-m83m-qhpj.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
41.0.0-alpha.1
Fixed
41.0.0-beta.8

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-9899-m83m-qhpj/GHSA-9899-m83m-qhpj.json"