Description
OnionShare is an open source tool that lets you securely and anonymously share files, host websites, and chat with friends using the Tor network. In affected versions it is possible to change the username to that of another chat participant with an additional space character at the end of the name string. An adversary with access to the chat environment can use the rename feature to impersonate other participants by adding whitespace characters at the end of the username.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| onionshare | onionshare | < 2.5 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | onionshare | 2.5-1 | — |
| Debian 13 | onionshare | 2.5-1 | — |
| Debian 12 | onionshare | 2.5-1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-onionshare | 2.5-1.1 | openSUSE-SU-2024:11983-1 |
| openSUSE Tumbleweed | python3-onionshare | 2.6-4.1 | openSUSE-SU-2024:13635-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | onionshare-cli | >= 2.3, < 2.5 | 2.5 | GHSA-68vr-8f46-vc9f |
| PyPI | onionshare-cli | < 2.5 | 2.5 | PYSEC-2022-47 |
Advisories 2
- openSUSE-SU-2024:13635-1 python3-onionshare-2.6-4.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11983-1 python-onionshare-2.5-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026