CVE-2022-21693Onionshare
Medium 6.5
Follow: this CVE · Onionshare · Onionshare We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 64
- Auth required
- Yes
- Published
- Jan 18, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/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 an adversary with a primitive that allows for filesystem access from the context of the Onionshare process can access sensitive files in the entire user home folder. This could lead to the leaking of sensitive data. Due to the automatic exclusion of hidden folders, the impact is reduced. This can be mitigated by usage of the flatpak release.
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-jgm9-xpfj-4fq6, PYSEC-2022-44). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| onionshare | onionshare | ≥ 2.3 < 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