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

CVE-2026-54706: OnionShare follows symlinks in shared directories, allowing unintended disclosure of local files

July 31, 2026

OnionShare CLI/Desktop 2.6.3 can follow symbolic links inside a selected Share or Website directory and serve the symlink target rather than limiting access to files physically contained in the selected directory. If a user shares a directory that contains attacker-supplied or otherwise untrusted symlinks, a remote recipient with access to the OnionShare service can read arbitrary local files readable by the OnionShare process that the symlink points to.

This affects the shipped onionshare-cli Python package and the desktop application because both call the same onionshare_cli.web file-indexing and streaming code.

References

  • github.com/advisories/GHSA-22p9-r2f5-22mf
  • github.com/onionshare/onionshare/commit/48f31cfac077fcc9c04c67c2a6dbf87d956f5eec
  • github.com/onionshare/onionshare/releases/tag/v2.6.4
  • github.com/onionshare/onionshare/security/advisories/GHSA-22p9-r2f5-22mf
  • nvd.nist.gov/vuln/detail/CVE-2026-54706

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.6.4

Fixed versions

  • 2.6.4

Solution

Upgrade to version 2.6.4 or above.

Impact 4.8 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:51 +0000.