Live threats

All CVEs / Onionshare

CVE-2022-21689Onionshare

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.3%
probability of exploitation in 30 days · percentile 72
Auth required
No
Published
Jan 18, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Onionshare.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI onionshare-cli < 2.5 2.5 pip install "onionshare-cli>=2.5"
PyPI onionshare-cli < 2.5 2.5 pip install "onionshare-cli>=2.5"

Per OSV / GitHub Advisories (GHSA-jh82-c5jw-pxpc, PYSEC-2022-40). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
onionshareonionshare< 2.5

Official sources

References

Links published by the sources. Open them with care.