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.
Severity (CVSS)
| Base score | 4.8 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-59 — CWE-59: Improper Link Resolution Before File Access ('Link Following')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| onionshare | onionshare | < 2.6.4 |
References
- https://github.com/onionshare/onionshare/security/advisories/GHSA-22p9-r2f5-22mf (x_refsource_CONFIRM)
- https://github.com/onionshare/onionshare/commit/48f31cfac077fcc9c04c67c2a6dbf87d956f5eec (x_refsource_MISC)
- https://github.com/onionshare/onionshare/releases/tag/v2.6.4 (x_refsource_MISC)
Generated from the official CVE List on 01 Aug 2026 07:04 UTC.