# CVE-2022-21689: Denial of Service in Onionshare

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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): 1.45%, higher than 74% of CVEs (2026-12-01)
- Published: 2022-01-18T22:10:10.000Z
- Modified: 2026-06-17T04:26:46.107Z
- Also known as: GHSA-jh82-c5jw-pxpc, PYSEC-2022-40
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable yes, 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 the receive mode limits concurrent uploads to 100 per second and blocks other uploads in the same second, which can be triggered by a simple script. An adversary with access to the receive mode can block file upload for others. There is no way to block this attack in public mode due to the anonymity properties of the tor network.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://github.com/onionshare/onionshare/releases/tag/v2.5> (release-notes, third-party-advisory, web)
- <https://github.com/onionshare/onionshare/security/advisories/GHSA-jh82-c5jw-pxpc> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-21689> (advisory)
- <https://github.com/onionshare/onionshare> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/onionshare-cli/PYSEC-2022-40.yaml> (web)

## Sources

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

---

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