CVE-2026-54706 OnionShare follows symlinks in shared directories, allowing unintended disclosure of local files
MediumCVSS 4.8
EPSS 0.34%
- 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 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.
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 |
|---|---|---|
| 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 |
| onionshare | = < 2.6.4 | 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-22p9-r2f5-22mf exploit vendor-advisory
- https://github.com/onionshare/onionshare/commit/48f31cfac077fcc9c04c67c2a6dbf87d956f5eec patch
- github.com product
- https://github.com/onionshare/onionshare/releases/tag/v2.6.4
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- Debian Security Tracker CVE-2026-54706 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking