[From nobody Fri Jul 10 17:51:06 2026
Received: (at submit) by bugs.debian.org; 11 Jun 2026 18:47:15 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-9.9 required=4.0 tests=BAYES_00, FOURLA,
 FROMDEVELOPER, 
 NO_RELAYS,XMAILER_REPORTBUG autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 20; hammy, 122; neutral, 33; spammy,
 2. spammytokens:0.941-+--H*r:bugs.debian.org, 0.935-+--receive
 hammytokens:0.000-+--H*F:U*carnil, 0.000-+--XDebbugsCc,
 0.000-+--X-Debbugs-Cc, 0.000-+--HTo:N*Debian, 0.000-+--H*Ad:N*Bug
Return-path: &lt;carnil@debian.org&gt;
Received: via submission by buxtehude.debian.org with esmtp (Exim 4.96)
 (envelope-from &lt;carnil@debian.org&gt;) id 1wXkQt-001B86-0w
 for submit@bugs.debian.org; Thu, 11 Jun 2026 18:47:15 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Salvatore Bonaccorso &lt;carnil@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: onionshare: OnionShare Receive mode writes uploaded files even when
 file uploads are disabled
Message-ID: &lt;178120362743.3409805.969696746002628510.reportbug@eldamar.lan&gt;
X-Mailer: reportbug 13.2.0
Date: Thu, 11 Jun 2026 20:47:07 +0200
Delivered-To: submit@bugs.debian.org

Source: onionshare
Version: 2.6.3-3
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team &lt;team@security.debian.org&gt;

Hi

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

&gt; OnionShare CLI/Desktop 2.6.3 does not enforce the Receive mode
&gt; disable_files setting at the file upload sink. When a Receive service
&gt; is configured as a text-message-only endpoint (--disable-files /
&gt; &quot;Disable uploading files&quot;), a remote sender who can reach the
&gt; OnionShare service can still send a crafted multipart request
&gt; containing file[]; OnionShare writes the uploaded bytes to disk before
&gt; the route handler skips file accounting.
&gt; 
&gt; This affects the shipped onionshare-cli Python package and the desktop
&gt; application because both use the same onionshare_cli.web.receive_mode
&gt; request-streaming implementation.

Regards,
Salvatore
]