Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. onionshare-cli
  4. ›
  5. CVE-2026-54707

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

July 31, 2026

OnionShare CLI/Desktop 2.6.3 does not enforce the Receive mode disable_files setting at the file upload sink. When a Receive service is configured as a text-message-only endpoint (--disable-files / “Disable uploading files”), a remote sender who can reach the OnionShare service can still send a crafted multipart request containing file[]; OnionShare writes the uploaded bytes to disk before the route handler skips file accounting.

This affects the shipped onionshare-cli Python package and the desktop application because both use the same onionshare_cli.web.receive_mode request-streaming implementation.

References

  • github.com/advisories/GHSA-v833-3823-cmhp
  • github.com/onionshare/onionshare/commit/a090e97193efc91fbeac9dace7793ea568b83cf5
  • github.com/onionshare/onionshare/releases/tag/v2.6.4
  • github.com/onionshare/onionshare/security/advisories/GHSA-v833-3823-cmhp
  • nvd.nist.gov/vuln/detail/CVE-2026-54707

Code Behaviors & Features

Detect and mitigate CVE-2026-54707 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.6.4

Fixed versions

  • 2.6.4

Solution

Upgrade to version 2.6.4 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

pypi/onionshare-cli/CVE-2026-54707.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:19 +0000.