Every CVE Search/ Get API key

CVE-2018-19960

Withdrawn Advisory: OnionShare Predictable Pathname

7.0 HighFix available

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

0.34%Up 0.1 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
4.4 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
onionshare
Debian:12
before 1.3.2-1
1.3.2-1
onionshare
Debian:13
before 1.3.2-1
1.3.2-1
onionshare
Debian:14
before 1.3.2-1
1.3.2-1
onionshare
Ubuntu: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
onionshare
Ubuntu:Pro:18.04:LTS
before 0.9.2-1ubuntu0.1~esm1, plus listed versions
0.9.2-1
0.9.2-1ubuntu0.1~esm1
onionshare
Ubuntu: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
onionshare
Ubuntu: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
onionshare
Ubuntu: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
onionshare
Ubuntu: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-onionshare
openSUSE:Tumbleweed
before 2.3.3-2.5
2.3.3-2.5
python3-onionshare
openSUSE:Tumbleweed
From an advisory covering 11 CVEs
before 2.6-4.1
2.6-4.1

History

History
RecordedChangedSources
affected, facts
affected
aliasesEUVD
first indexedCVE 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

Show 17 moreShow less
MoveEnter Open