# CVE-2022-21718: Renderers can obtain access to random bluetooth device without permission in Electron

- Severity: Low 3.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.95%, higher than 62% of CVEs (2026-12-01)
- Published: 2022-03-22T16:25:12.000Z
- Modified: 2026-06-17T04:26:50.913Z
- Also known as: GHSA-3p22-ghq8-v749
- Weaknesses: CWE-668, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. A vulnerability in versions prior to `17.0.0-alpha.6`, `16.0.6`, `15.3.5`, `14.2.4`, and `13.6.6` allows renderers to obtain access to a bluetooth device via the web bluetooth API if the app has not configured a custom `select-bluetooth-device` event handler. This has been patched and Electron versions `17.0.0-alpha.6`, `16.0.6`, `15.3.5`, `14.2.4`, and `13.6.6` contain the fix. Code from the GitHub Security Advisory can be added to the app to work around the issue.

(As written by CVE List.)

## Affected

- electron electron: < 13.6.6; >= 14.0.0-beta.1, < 14.2.4; >= 15.0.0-beta.1, < 15.3.5; >= 16.0.0-beta.1, < 16.0.6; >= 17.0.0-alpha.1, <= 17.0.0-alpha.5
- electron (npm): before 13.6.6; from 14.0.0-beta.1 before 14.2.4; from 15.0.0-beta.1 before 15.3.5; from 16.0.0-beta.1 before 16.0.6; from 17.0.0-alpha.1 before 17.0.0-alpha.6
- electronjs electron: before 13.6.6; from 14.0.0 before 14.2.4; from 15.0.0 before 15.3.5; from 16.0.0 before 16.0.6; 17.0.0

## Every score

- GitHub_M: CVSS:3.1 3.4 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.4 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749> (mitigation, third-party-advisory, web)
- <https://github.com/electron/electron/pull/32178> (issue-tracking, patch, third-party-advisory, web)
- <https://github.com/electron/electron/pull/32240> (issue-tracking, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-21718> (advisory)
- <https://github.com/electron/electron> (package)

## Sources

- CVE List: [CVE-2022-21718](https://www.cve.org/CVERecord?id=CVE-2022-21718), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-3p22-ghq8-v749](https://github.com/advisories/GHSA-3p22-ghq8-v749), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-21718](https://nvd.nist.gov/vuln/detail/CVE-2022-21718), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-21718 · Whole record: https://cve.day/CVE-2022-21718.json · Rebuilt by cve.day 2026-11-25T22:58:10.223Z
