Read the docs
TI-2022-06070 Aliases CVE-2022-21694GHSA-h29c-wcm8-883h

Incorrect permission assignment in onionshare

Priority LOW 27CWE-732Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

OnionShare is an open source tool that lets you securely and anonymously share files, host websites, and chat with friends using the Tor network. The website mode of the onionshare allows to use a hardened CSP, which will block any scripts and external resources. It is not possible to configure this CSP for individual pages and therefore the security enhancement cannot be used for websites using javascript or external resources like fonts or images.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01258 69th percentileScored 2026-11-07
Fix Fixed onionshare (onionshare): 2.5onionshare-cli (PyPI): 2.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
onionshareonionsharebefore 2.52.5Patch availableCNA
—onionshare-cli (PyPI)2.2 to before 2.52.5Patch availableGHSA-h29c-wcm8-883h
  • onionshare Vendoronionshare Affected before 2.5 Fixed in 2.5 Patch available CNA
  • onionshare-cli (PyPI) Vendor— Affected 2.2 to before 2.5 Fixed in 2.5 Patch available GHSA-h29c-wcm8-883h

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:onionshare:onionshare:*:*:*:*:*:*:*:*before 2.5Vulnerableonionshare
  • cpe:2.3:a:onionshare:onionshare:*:*:*:*:*:*:*:* Versions before 2.5 Vulnerable ·onionshare

Remediation

  • Fix · CNA onionshare (onionshare) Fixed in 2.5
  • Fix · GHSA-h29c-wcm8-883h onionshare-cli (PyPI) Fixed in 2.5 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-21694
  2. 2026-10-03 Alias added: GHSA-h29c-wcm8-883h

References

  • TI-2022-06066 Cross-Site Scripting in Onionshare CVSS 3.1HIGH 8.7
  • TI-2022-06068 Improper Access Control in Onionshare CVSS 3.1MEDIUM 4.3
  • TI-2021-18479 OnionShare 2.3 before 2.4 allows remote unauthenticated attackers to upload files on a… CVSS 3.1CRITICAL 9.8
  • TI-2022-06065 Denial of Service in Onionshare CVSS 3.1HIGH 7.5
  • TI-2022-06064 Out-of-bounds Read in Onionshare CVSS 3.1HIGH 7.5
  • TI-2022-06069 Path traversal in Onionshare CVSS 3.1MEDIUM 6.5
See all 12 →

Sources