# CVE-2022-21693: Path traversal in Onionshare

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.20%, higher than 69% of CVEs (2026-12-01)
- Published: 2022-01-18T22:03:54.000Z
- Modified: 2026-06-17T04:26:46.583Z
- Also known as: GHSA-jgm9-xpfj-4fq6, PYSEC-2022-44
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- onionshare onionshare: < 2.5; from 2.3 before 2.5
- onionshare-cli (PyPI): from 2.3 before 2.5; before 2.5

## Every score

- GitHub_M: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## 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> (advisory, third-party-advisory, web)
- <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)

## Sources

- CVE List: [CVE-2022-21693](https://www.cve.org/CVERecord?id=CVE-2022-21693), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-jgm9-xpfj-4fq6](https://github.com/advisories/GHSA-jgm9-xpfj-4fq6), CC-BY-4.0, modified 2024-10-07
- NVD: [CVE-2022-21693](https://nvd.nist.gov/vuln/detail/CVE-2022-21693), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-44](https://osv.dev/vulnerability/PYSEC-2022-44), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2022-21693 · Whole record: https://cve.day/CVE-2022-21693.json · Rebuilt by cve.day 2026-11-25T22:58:09.273Z
