CVE-2026-54707 OnionShare Receive mode writes uploaded files even when file uploads are disabled
MediumCVSS 5.4
EPSS 0.40%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 3 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/onionshare(Debian 12) | = 2.6-4; = 2.6-5; = 2.6-5~deb12u1; = 2.6-6 +13 more | No fix listed | No fix yet |
| ubuntu/onionshare(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/onionshare(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/onionshare(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| debian/onionshare(Debian 13) | < 2.6.3-1+deb13u2; = 2.6.3-1 | 2.6.3-1+deb13u2 | Fixed |
| debian/onionshare(Debian 14) | < 2.6.4-1; = 2.6.3-1; = 2.6.3-2; = 2.6.3-3 +1 more | 2.6.4-1 | Fixed |
| pypi onionshare-cli(PyPI) | < 2.6.4; = 2.3; = 2.3.1; = 2.3.2 +5 more | 2.6.4 | Fixed |
| onionshare | = < 2.6.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| onionshare | = < 2.6.4 | No fix listed |
| pypi onionshare-cli(PyPI) | < 2.6.4 | 2.6.4 |
| pypi onionshare-cli(PyPI) | = 2.3 | No fix listed |
| pypi onionshare-cli(PyPI) | = 2.3.1 | No fix listed |
| pypi onionshare-cli(PyPI) | = 2.3.2 | No fix listed |
| pypi onionshare-cli(PyPI) | = 2.3.3 | No fix listed |
| pypi onionshare-cli(PyPI) | = 2.5 | No fix listed |
| pypi onionshare-cli(PyPI) | = 2.6 | No fix listed |
| pypi onionshare-cli(PyPI) | = 2.6.1 | No fix listed |
| pypi onionshare-cli(PyPI) | = 2.6.3 | No fix listed |
| debian/onionshare(Debian:12) | All versions | No fix listed |
| debian/onionshare(Debian:12) | = 2.6-4 | No fix listed |
| debian/onionshare(Debian:12) | = 2.6-5 | No fix listed |
| debian/onionshare(Debian:12) | = 2.6-5~deb12u1 | No fix listed |
| debian/onionshare(Debian:12) | = 2.6-6 | No fix listed |
| debian/onionshare(Debian:12) | = 2.6-7 | No fix listed |
| debian/onionshare(Debian:12) | = 2.6.2-1 | No fix listed |
| debian/onionshare(Debian:12) | = 2.6.2-2 | No fix listed |
| debian/onionshare(Debian:12) | = 2.6.2-3 | No fix listed |
| debian/onionshare(Debian:12) | = 2.6.2-4 | No fix listed |
| debian/onionshare(Debian:12) | = 2.6.2-5 | No fix listed |
| debian/onionshare(Debian:12) | = 2.6.3-1 | No fix listed |
| debian/onionshare(Debian:12) | = 2.6.3-2 | No fix listed |
| debian/onionshare(Debian:12) | = 2.6.3-3 | No fix listed |
| debian/onionshare(Debian:12) | = 2.6.3-4 | No fix listed |
Show 12 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/onionshare(Debian:12) | = 2.6.4-1 | No fix listed |
| debian/onionshare(Debian:12) | = 2.6.4-2 | No fix listed |
| debian/onionshare(Debian:13) | < 2.6.3-1+deb13u2 | 2.6.3-1+deb13u2 |
| debian/onionshare(Debian:13) | = 2.6.3-1 | No fix listed |
| debian/onionshare(Debian:14) | < 2.6.4-1 | 2.6.4-1 |
| debian/onionshare(Debian:14) | = 2.6.3-1 | No fix listed |
| debian/onionshare(Debian:14) | = 2.6.3-2 | No fix listed |
| debian/onionshare(Debian:14) | = 2.6.3-3 | No fix listed |
| debian/onionshare(Debian:14) | = 2.6.3-4 | No fix listed |
| ubuntu/onionshare(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/onionshare(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/onionshare(Ubuntu:26.04) | All versions | No fix listed |
References
- https://github.com/onionshare/onionshare/security/advisories/GHSA-v833-3823-cmhp exploit vendor-advisory
- https://github.com/onionshare/onionshare/commit/a090e97193efc91fbeac9dace7793ea568b83cf5 patch
- https://github.com/onionshare/onionshare/releases/tag/v2.6.4
- github.com product
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- Debian Security Tracker CVE-2026-54707 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking