# CVE-2022-21691: Improper Access Control in Onionshare

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/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.70%, higher than 54% of CVEs (2026-12-01)
- Published: 2022-01-18T22:00:12.000Z
- Modified: 2026-06-17T04:26:46.347Z
- Also known as: GHSA-w9m4-7w72-r766, PYSEC-2022-42
- Weaknesses: CWE-306
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

OnionShare is an open source tool that lets you securely and anonymously share files, host websites, and chat with friends using the Tor network. In affected versions chat participants can spoof their channel leave message, tricking others into assuming they left the chatroom.

(As written by CVE List.)

## Affected

- onionshare onionshare: < 2.5; before 2.5
- onionshare-cli (PyPI): from 2.3 before 2.5; before 2.5

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/onionshare/onionshare/releases/tag/v2.5> (release-notes, third-party-advisory, web)
- <https://github.com/onionshare/onionshare/security/advisories/GHSA-w9m4-7w72-r766> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-21691> (advisory)
- <https://github.com/onionshare/onionshare> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/onionshare-cli/PYSEC-2022-42.yaml> (web)

## Sources

- CVE List: [CVE-2022-21691](https://www.cve.org/CVERecord?id=CVE-2022-21691), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-w9m4-7w72-r766](https://github.com/advisories/GHSA-w9m4-7w72-r766), CC-BY-4.0, modified 2024-10-07
- NVD: [CVE-2022-21691](https://nvd.nist.gov/vuln/detail/CVE-2022-21691), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-42](https://osv.dev/vulnerability/PYSEC-2022-42), CC-BY-4.0, modified 2023-11-08

---

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