{"id":"CVE-2026-54707","published":"2026-07-31T16:28:06Z","modified":"2026-07-31T23:28:15Z","title":"OnionShare Receive mode writes uploaded files even when file uploads are disabled","vendor":"onionshare","product":"onionshare","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.004,"percentile":0.35096,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/onionshare/onionshare/security/advisories/GHSA-v833-3823-cmhp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/onionshare/onionshare/commit/a090e97193efc91fbeac9dace7793ea568b83cf5","tags":["x_refsource_MISC"]},{"url":"https://github.com/onionshare/onionshare/releases/tag/v2.6.4","tags":["x_refsource_MISC"]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":7.02},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"onionshare","affectedVersions":[{"vendor":"onionshare","product":"onionshare","versions":["< 2.6.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-31T23:27:45.200593Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"onionshare-cli","vulnerableRanges":["<2.6.4"],"patched":["2.6.4"],"from":["GHSA-v833-3823-cmhp","PYSEC-2026-3586"],"provenance":"source"}],"summary":{"text":"OnionShare's Receive mode, in the receive_mode component of the OnionShare CLI and Desktop application, fails to enforce its disable_files setting, so it writes uploaded files to disk even when the mode is configured for text only. An attacker who can reach the Receive mode service over the network, with low-privilege access and without any user interaction, can upload files that are stored on the host, which can compromise integrity and availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:39Z"},"euvd":{"id":"EUVD-2026-51570","exploited":false,"provenance":"source"}}