Skip to content
OpenAdvisories
Medium · 4.8 CVE-2026-54706 EUVD-2026-51571GHSA-22p9-r2f5-22mfPYSEC-2026-3585

OnionShare follows symlinks in shared directories, allowing unintended disclosure of local files

Published Jul 31, 2026 · Updated Jul 31, 2026 · 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. Prior to 2.6.4, OnionShare CLI/Desktop follows symbolic links in cli/onionshare_cli/web/send_base_mode.py through SendBaseModeWeb.set_file_info() and stream_individual_file(), allowing remote recipients of Share or Website mode to read local files outside the selected directory. This issue is fixed in version 2.6.4.

Affected products

VendorProductAffectedFixed
onionshare onionshare < 2.6.4 —

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.6.4-1 —
Debian 13 onionshare 2.6.3-1+deb13u2 —
Debian 12 onionshare No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS onionshare No fix yet —
Ubuntu 24.04 LTS onionshare No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS onionshare No fix yet —
Ubuntu Pro 20.04 LTS onionshare No fix yet —
Ubuntu Pro 18.04 LTS onionshare No fix yet —
Ubuntu Pro 16.04 LTS onionshare No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-onionshare 2.6.4-1.1 openSUSE-SU-2026:11169-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI onionshare-cli < 2.6.4 2.6.4 GHSA-22p9-r2f5-22mf

Advisories 1

References