Vulnerability · Published Jul 31, 2026 · Assigned by GitHub_M

CVE-2026-54707OnionShare Receive mode writes uploaded files even when file uploads are disabled

Medium 5.4

In plain English

A medium-severity incorrect authorization in onionshare from onionshare. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.4%top 65.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12onionshareno fix listedDEBIAN-CVE-2026-54707
Debian:13onionshare2.6.3-1+deb13u2DEBIAN-CVE-2026-54707
Debian:14onionshare2.6.4-1DEBIAN-CVE-2026-54707
PyPIonionshare-cli2.6.4PYSEC-2026-3586
PyPIonionshare-cli2.6.4GHSA-v833-3823-cmhp
Ubuntu:24.04:LTSonionshareno fix listedUBUNTU-CVE-2026-54707
Ubuntu:26.04:LTSonionshareno fix listedUBUNTU-CVE-2026-54707

Affected products (as reported)

VendorProductVersions
onionshare onionshare < 2.6.4

Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

References