---
id: CVE-2026-54707
title: >-
  OnionShare is an open source tool that lets you securely and anonymously share
  files, host websites, and chat with friends using the Tor network
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. Prior to
  2.6.4, OnionShare CLI/Desktop does not enforce the Receive mode disable_files
  sett…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L'
cwe:
  - CWE-863
vendor: onionshare-cli
product: onionshare-cli
affected:
  - onionshare-cli < 2.6.4
patched:
  - onionshare-cli 2.6.4
published: '2026-07-31'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T20:12:43.783'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-54707'
references:
  - url: >-
      https://github.com/onionshare/onionshare/commit/a090e97193efc91fbeac9dace7793ea568b83cf5
    label: security-advisories@github.com
  - url: 'https://github.com/onionshare/onionshare/releases/tag/v2.6.4'
    label: security-advisories@github.com
  - url: >-
      https://github.com/onionshare/onionshare/security/advisories/GHSA-v833-3823-cmhp
    label: security-advisories@github.com
  - url: >-
      https://github.com/onionshare/onionshare/security/advisories/GHSA-v833-3823-cmhp
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-v833-3823-cmhp'
tags:
  - nvd
  - ghsa
  - pip
epss: 0.004
epssPercentile: 0.31369
aliases:
  - GHSA-v833-3823-cmhp
ecosystem: pip
ingestedAt: '2026-07-31T17:00:00.084Z'
---

## Overview

OnionShare is an open source tool that lets you securely and anonymously share files, host websites, and chat with friends using the Tor network. Prior to 2.6.4, OnionShare CLI/Desktop does not enforce the Receive mode disable_files setting in cli/onionshare_cli/web/receive_mode.py, where ReceiveModeRequest._get_file_stream() writes multipart file[] data to disk despite the text-only setting. This issue is fixed in version 2.6.4.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-54707)

Affected packages:

- `onionshare-cli < 2.6.4`

Patched in:

- `onionshare-cli 2.6.4`

Source: https://github.com/advisories/GHSA-v833-3823-cmhp
