{"id":"CVE-2022-21693","published":"2022-01-18T22:03:54Z","modified":"2025-04-23T19:10:35Z","title":"Path traversal in Onionshare","vendor":"onionshare","product":"onionshare","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01061,"percentile":0.6397,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/onionshare/onionshare/releases/tag/v2.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/onionshare/onionshare/security/advisories/GHSA-jgm9-xpfj-4fq6","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":12.79},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"onionshare","affectedVersions":[{"vendor":"onionshare","product":"onionshare","versions":["< 2.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T14:11:54.774156Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"onionshare-cli","vulnerableRanges":[">=2.3, <2.5","<2.5"],"patched":["2.5"],"from":["GHSA-jgm9-xpfj-4fq6","PYSEC-2022-44"],"provenance":"source"}],"summary":{"text":"The flaw is a path traversal weakness in the OnionShare product's file handling, which is an open source tool for anonymously sharing files, hosting websites, and chatting over Tor. An attacker who already has a primitive that grants filesystem access from within the OnionShare process can read sensitive files across the user's home folder, although automatic exclusion of hidden folders limits the exposure, and the Flatpak release is cited as a mitigation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:38:14Z"},"euvd":{"id":"EUVD-2022-0184","exploited":false,"provenance":"source"}}