{"id":"CVE-2026-54707","summary":"OnionShare Receive mode writes uploaded files even when file uploads are disabled","details":"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.","aliases":["GHSA-v833-3823-cmhp","PYSEC-2026-3586"],"modified":"2026-11-11T10:47:34.729755545Z","published":"2026-07-31T16:28:06.628Z","related":["openSUSE-SU-2026:11169-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54707.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-863"]},"references":[{"type":"WEB","url":"https://github.com/onionshare/onionshare/releases/tag/v2.6.4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54707.json"},{"type":"ADVISORY","url":"https://github.com/onionshare/onionshare/security/advisories/GHSA-v833-3823-cmhp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54707"},{"type":"FIX","url":"https://github.com/onionshare/onionshare/commit/a090e97193efc91fbeac9dace7793ea568b83cf5"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/onionshare/onionshare","events":[{"introduced":"0"},{"fixed":"abc798f3fc449154f31509c7ec23267db0ebeefc"},{"fixed":"a090e97193efc91fbeac9dace7793ea568b83cf5"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"2.6.4"}]},{"range":[{"fixed":"a090e97193efc91fbeac9dace7793ea568b83cf5"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v2.6.4","range":[{"fixed":"abc798f3fc449154f31509c7ec23267db0ebeefc"}],"source":"REFERENCES_TAG"}]}}],"versions":["v2.6.3","v0.9","v0.8.1","0.8","0.7.1","0.7","0.6","0.5","0.4","0.3","0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54707.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L"}]}