CVE-2018-19960
Withdrawn Advisory: OnionShare Predictable Pathname
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.0
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.
- Record
CVE-2018-19960- CVSS 3.0
- 7.0 High
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 4.4 Medium
AV:L/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-19960- Updated
- 2026-11-02
EUVDEUVD-2022-4839 No score
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.
- Record
EUVD-2022-4839- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-pwjq-6wrh-5w8q
7.0
Withdrawn Advisory: OnionShare Predictable Pathname
Withdrawn Advisory
This advisory has been withdrawn because the advisory concerns the repository https://github.com/onionshare/onionshare, which is not in a supported ecosystem. onionshare-cli is not affected by this issue.
Original 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.
- Record
GHSA-pwjq-6wrh-5w8q- CVSS 3.0
- 7.0 High
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
OSV
7.0
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.
- Record
CVE-2018-19960- CVSS 3.0
- 7.0 High
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-19960
7.0
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.
- Record
DEBIAN-CVE-2018-19960- CVSS 3.0
- 7.0 High
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVGHSA-pwjq-6wrh-5w8q
7.0
Withdrawn Advisory: OnionShare Predictable Pathname
Withdrawn Advisory
This advisory has been withdrawn because the advisory concerns the repository https://github.com/onionshare/onionshare, which is not in a supported ecosystem. onionshare-cli is not affected by this issue.
Original 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.
- Record
GHSA-pwjq-6wrh-5w8q- CVSS 3.0
- 7.0 High
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-19960
7.0
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.
- Record
UBUNTU-CVE-2018-19960- CVSS 3.0
- 7.0 High
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11246-1 No score
python-onionshare-2.3.3-2.5 on GA media
These are all security issues fixed in the python-onionshare-2.3.3-2.5 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11246-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13635-1 No score
python3-onionshare-2.6-4.1 on GA media
These are all security issues fixed in the python3-onionshare-2.6-4.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13635-1- Updated
- 2026-11-02
OSVUSN-7625-1 No score
onionshare vulnerabilities
It was discovered that OnionShare could be exploited when run with the --debug argument. A local attacker could possibly use this issue to access sensitive information. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2018-19960)
It was discovered that OnionShare could be blocked from uploading files. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-21689)
- Record
USN-7625-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
onionshareDebian:12 |
before 1.3.2-1 | 1.3.2-1 |
onionshareDebian:13 |
before 1.3.2-1 | 1.3.2-1 |
onionshareDebian:14 |
before 1.3.2-1 | 1.3.2-1 |
onionshareUbuntu:Pro:16.04:LTS |
before 0.8.1-1ubuntu0.1~esm1, plus listed versions 0.7-10.7.1-10.8.1-1 |
0.8.1-1ubuntu0.1~esm1 |
onionshareUbuntu:Pro:18.04:LTS |
before 0.9.2-1ubuntu0.1~esm1, plus listed versions 0.9.2-1 |
0.9.2-1ubuntu0.1~esm1 |
onionshareUbuntu:Pro:16.04:LTS From an advisory covering 2 CVEs |
before 0.8.1-1ubuntu0.1~esm1, plus listed versions 0.7-10.7.1-10.8.1-1 |
0.8.1-1ubuntu0.1~esm1 |
onionshareUbuntu:Pro:18.04:LTS From an advisory covering 2 CVEs |
before 0.9.2-1ubuntu0.1~esm1, plus listed versions 0.9.2-1 |
0.9.2-1ubuntu0.1~esm1 |
onionshareUbuntu:Pro:20.04:LTS From an advisory covering 2 CVEs |
before 2.2-1ubuntu0.1~esm1, plus listed versions 2.1-12.2-1 |
2.2-1ubuntu0.1~esm1 |
onionshareUbuntu:Pro:22.04:LTS From an advisory covering 2 CVEs |
before 2.2-3ubuntu0.1~esm1, plus listed versions 2.2-3 |
2.2-3ubuntu0.1~esm1 |
python-onionshareopenSUSE:Tumbleweed |
before 2.3.3-2.5 | 2.3.3-2.5 |
python3-onionshareopenSUSE:Tumbleweed From an advisory covering 11 CVEs |
before 2.6-4.1 | 2.6-4.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-19960 is a high vulnerability (CVSS 7.0) in Onionshare, published December 7, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.34%, the 27th percentile. Fixed in onionshare 1.3.2-1.
References
bugs.debian.org/915859
nvd.nist.gov/vuln/detail/CVE-2018-19960
github.com/onionshare/onionshare/issues/837
github.com/onionshare/onionshare/commit/4da5e15581a69509e7bfc6c4d0742052e0b61b24
github.com/onionshare/onionshare/commit/aa5fdde6a4e4de7f113e01a3b446dcc14dcecb1a
github.com/advisories/GHSA-pwjq-6wrh-5w8q
Show 17 moreShow less
security-tracker.debian.org/tracker/CVE-2018-19960
github.com/onionshare/onionshare
ubuntu.com/security/CVE-2018-19960
cve.org/CVERecord?id=CVE-2018-19960
ubuntu.com/security/notices/USN-7625-1
ubuntu.com/security/CVE-2022-21689
suse.com/security/cve/CVE-2018-19960
suse.com/security/cve/CVE-2021-41867
suse.com/security/cve/CVE-2021-41868
suse.com/security/cve/CVE-2022-21688
suse.com/security/cve/CVE-2022-21690
suse.com/security/cve/CVE-2022-21691
suse.com/security/cve/CVE-2022-21692
suse.com/security/cve/CVE-2022-21693
suse.com/security/cve/CVE-2022-21694
suse.com/security/cve/CVE-2022-21695
suse.com/security/cve/CVE-2022-21696