Symlink Attack 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.24% (16th 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 IDSNYK-PYTHON-ONIONSHARECLI-18508005
  • published2 Aug 2026
  • disclosed31 Jul 2026
  • creditUnknown

Introduced: 31 Jul 2026

CVE-2026-54706  (opens in a new tab)
CWE-59  (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 Symlink Attack in the set_file_info process. An attacker can access sensitive local files by supplying a directory containing a symbolic link to a file outside the intended shared directory, which is then served to remote recipients through the file sharing service.

CVSS Base Scores

version 4.0
version 3.1