Skip to content
OpenAdvisories
Medium · 6.3 CVE-2022-21693 EUVD-2022-0184GHSA-jgm9-xpfj-4fq6PYSEC-2022-44

Path traversal in Onionshare

Published Jan 18, 2022 · Updated Apr 23, 2025 · 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.

Affected products

VendorProductAffectedFixed
onionshare onionshare < 2.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 onionshare 2.5-1 —
Debian 13 onionshare 2.5-1 —
Debian 12 onionshare 2.5-1 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-onionshare 2.5-1.1 openSUSE-SU-2024:11983-1
openSUSE Tumbleweed python3-onionshare 2.6-4.1 openSUSE-SU-2024:13635-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI onionshare-cli >= 2.3, < 2.5 2.5 GHSA-jgm9-xpfj-4fq6
PyPI onionshare-cli < 2.5 2.5 PYSEC-2022-44

Advisories 2

References