Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-54707 EUVD-2026-51570GHSA-v833-3823-cmhpPYSEC-2026-3586

OnionShare Receive mode writes uploaded files even when file uploads are disabled

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 does not enforce the Receive mode disable_files setting in cli/onionshare_cli/web/receive_mode.py, where ReceiveModeRequest._get_file_stream() writes multipart file[] data to disk despite the text-only setting. 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-v833-3823-cmhp

Advisories 1

References