CVE-2022-21693
MEDIUM 6.5CVSS 3.1Path traversal in Onionshare
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.
- Published
- 18 Jan 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-jgm9-xpfj-4fq6PYSEC-2022-44
- Sources
- NVDJSONOSV GHSA-jgm9-xpfj-4fq6JSONOSV PYSEC-2022-44JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | onionshare | onionsharecpe:2.3:a:onionshare:onionshare:*:*:*:*:*:*:*:* |
>= 2.3, < 2.5 | 2.5 |
| OSV | PyPI | onionshare-cli | >= 2.3, < 2.5 | 2.5 |
| OSV | PyPI | onionshare-cli | < 2.5 | 2.5 |
References
- https://github.com/onionshare/onionshare/releases/tag/v2.5 · Release Notes, Third Party Advisory, WEB
- https://github.com/onionshare/onionshare/security/advisories/GHSA-jgm9-xpfj-4fq6 · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-21693 · ADVISORY
- https://github.com/onionshare/onionshare · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/onionshare-cli/PYSEC-2022-44.yaml · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 18 Jan 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Jan 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Jan 2022)