Description
The debug_mode function in web/web.py in OnionShare through 1.3.1, when --debug is enabled, uses the /tmp/onionshare_server.log pathname for logging, which might allow local users to overwrite files or obtain sensitive information by using this pathname.
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 | 1.3.2-1 | — |
| Debian 13 | onionshare | 1.3.2-1 | — |
| Debian 12 | onionshare | 1.3.2-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | onionshare | 2.2-3ubuntu0.1~esm1 | USN-7625-1 |
| Ubuntu Pro 20.04 LTS | onionshare | 2.2-1ubuntu0.1~esm1 | USN-7625-1 |
| Ubuntu Pro 18.04 LTS | onionshare | 0.9.2-1ubuntu0.1~esm1 | USN-7625-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | onionshare | 0.8.1-1ubuntu0.1~esm1 | USN-7625-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-onionshare | 2.3.3-2.5 | openSUSE-SU-2024:11246-1 |
| openSUSE Tumbleweed | python3-onionshare | 2.6-4.1 | openSUSE-SU-2024:13635-1 |
Advisories 3
- USN-7625-1 onionshare vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- openSUSE-SU-2024:13635-1 python3-onionshare-2.6-4.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11246-1 python-onionshare-2.3.3-2.5 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026