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

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- 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.28%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-31T16:27:59.000Z
- Modified: 2026-09-10T20:12:43.783Z
- Also known as: GHSA-v833-3823-cmhp, PYSEC-2026-3586
- Weaknesses: CWE-863
- 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 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.

(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 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- PyPA Advisory Database: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`

## References

- <https://github.com/onionshare/onionshare/security/advisories/GHSA-v833-3823-cmhp> (exploit, web)
- <https://github.com/onionshare/onionshare/commit/a090e97193efc91fbeac9dace7793ea568b83cf5> (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-v833-3823-cmhp> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54707> (advisory)

## Sources

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

---

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