Incorrect Authorization Affecting onionshare-cli package, versions [,2.6.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-ONIONSHARECLI-18508004
  • published2 Aug 2026
  • disclosed31 Jul 2026
  • creditUnknown

Introduced: 31 Jul 2026

CVE-2026-54707  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade onionshare-cli to version 2.6.4 or higher.

Overview

onionshare-cli is a software that lets you securely and anonymously send and receive files. It works by starting a web server, making it accessible as a Tor onion service, and generating an unguessable web address so others can download files from you, or upload files to you. It does not require setting up a separate server or using a third party file-sharing service.

Affected versions of this package are vulnerable to Incorrect Authorization in the ReceiveModeRequest._get_file_stream process. An attacker can cause unauthorized files to be written to disk by sending crafted multipart POST requests to endpoints such as /upload or /upload-ajax, even when file uploads are explicitly disabled in the service configuration. This can result in unwanted file placement and disk consumption, potentially bypassing user-imposed restrictions on file uploads.

CVSS Base Scores

version 4.0
version 3.1