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

- Priority: **Routine**
- Reason: Not severe (CVSS 3.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-03-22 · Modified: 2025-04-23
- Aliases: GHSA-3p22-ghq8-v749
- Record: https://cvemate.com/vulnerability/CVE-2022-21718 · JSON: https://cvemate.com/vulnerability/CVE-2022-21718/json

## Description

```text
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.
```

## Signals

- CVSS: 5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
- EPSS: 0.946%, percentile 62.289%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## 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
- electronjs electron: \< 13.6.6 \| ≥ 14.0.0, \< 14.2.4 \| ≥ 15.0.0, \< 15.3.5 \| ≥ 16.0.0, \< 16.0.6 \| 17.0.0:alpha1 \| 17.0.0:alpha2 \| 17.0.0:alpha3 \| 17.0.0:alpha4 \| 17.0.0:alpha5
- Npm electron (Npm): \< 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.6

## References

- <https://github.com/electron/electron/security/advisories/GHSA-3p22-ghq8-v749>
- <https://github.com/electron/electron/pull/32178>
- <https://github.com/electron/electron/pull/32240>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-21718>
- <https://github.com/electron/electron>

---

Data as of 2026-12-05T11:37:32.432Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
