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. 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.
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 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | onionshare | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | onionshare | No fix yet | — |
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.2, < 2.5 | 2.5 | GHSA-h29c-wcm8-883h |
| PyPI | onionshare-cli | < 2.5 | 2.5 | PYSEC-2022-45 |
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