CVE-2022-21696Onionshare
Medium 4.3
Follow: this CVE · Onionshare · Onionshare We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 3.1
- 4.3
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 51
- Auth required
- Yes
- Published
- Jan 18, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/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 it is possible to change the username to that of another chat participant with an additional space character at the end of the name string. An adversary with access to the chat environment can use the rename feature to impersonate other participants by adding whitespace characters at the end of the username.
What to do
- Apply the vendor's security update for Onionshare.
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-68vr-8f46-vc9f, PYSEC-2022-47). 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