# CVE-2026-54706: OnionShare follows symlinks in shared directories, allowing unintended disclosure of local files

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-31T16:30:58.062Z
- Modified: 2026-09-10T20:12:43.783Z
- Also known as: GHSA-22p9-r2f5-22mf, PYSEC-2026-3585
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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 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.

(As written by CVE List.)

## Affected

- onionshare onionshare: < 2.6.4
- onionshare-cli (PyPI): before 2.6.4

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/onionshare/onionshare/security/advisories/GHSA-22p9-r2f5-22mf> (exploit, web)
- <https://github.com/onionshare/onionshare/commit/48f31cfac077fcc9c04c67c2a6dbf87d956f5eec> (web)
- <https://github.com/onionshare/onionshare/releases/tag/v2.6.4> (web)
- <https://github.com/onionshare/onionshare> (package)
- <https://pypi.org/project/onionshare-cli> (package)
- <https://github.com/advisories/GHSA-22p9-r2f5-22mf> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54706> (advisory)

## Sources

- CVE List: [CVE-2026-54706](https://www.cve.org/CVERecord?id=CVE-2026-54706), CVE Terms of Use, modified 2026-07-31
- GitHub Advisory Database: [GHSA-22p9-r2f5-22mf](https://github.com/advisories/GHSA-22p9-r2f5-22mf), CC-BY-4.0, modified 2026-08-04
- NVD: [CVE-2026-54706](https://nvd.nist.gov/vuln/detail/CVE-2026-54706), Public domain, modified 2026-09-10
- PyPA Advisory Database: [PYSEC-2026-3585](https://osv.dev/vulnerability/PYSEC-2026-3585), CC-BY-4.0, modified 2026-08-04

---

Page: https://cve.day/CVE-2026-54706 · Whole record: https://cve.day/CVE-2026-54706.json · Rebuilt by cve.day 2026-11-25T22:59:30.724Z
