CVE-2022-21695Onionshare
Medium 5.3 No auth needed
Follow: this CVE · Onionshare · Onionshare We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 58
- Auth required
- No
- Published
- Jan 18, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
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 authenticated users (or unauthenticated in public mode) can send messages without being visible in the list of chat participants. This issue has been resolved in version 2.5.
What to do
- Apply the vendor's security update for Onionshare.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | onionshare-cli |
≥ 2.3 < 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-99p8-9p2c-49j4, PYSEC-2022-46). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| onionshare | onionshare | < 2.5 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- github.com Third Party Advisory