What’s Vulnerable › Vulnerabilities
CVE-2022-21693: Path traversal in Onionshare
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-01-18 · updated 2026-06-17
- Weakness: CWE-22
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 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.
Affected products
- onionshare: from 2.3 before 2.5 — fixed in 2.5
How to fix
Upgrade to a fixed version: onionshare 2.5. Check the vendor advisory for mitigations.
References
- https://github.com/onionshare/onionshare/releases/tag/v2.5
- https://github.com/onionshare/onionshare/security/advisories/GHSA-jgm9-xpfj-4fq6
- https://github.com/onionshare/onionshare/releases/tag/v2.5
- https://github.com/onionshare/onionshare/security/advisories/GHSA-jgm9-xpfj-4fq6
Get alerted when CVE-2022-21693 or the next vulnerability affects your stack