OnionShare follows symlinks in shared directories, allowing unintended disclosure of local files
OnionShare is an open source tool that lets you securely and anonymously share files, host websites, and chat with friends using the Tor network. Prior to 2.6.4, OnionShare CLI/Desktop follows symbolic links in cli/onionshare_cli/web/send_base_mode.py through SendBaseModeWeb.set_file_info() and stream_individual_file(), allowing remote recipients of Share or Website mode to read local files outside the selected directory. This issue is fixed in version 2.6.4.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-54706
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 13:15 UTC · Revision 1
Source evidence
OnionShare follows symlinks in shared directories, allowing unintended disclosure of local files
core-osv · Original sourcePublished 31 Jul 2026, 16:30 UTC
OnionShare is an open source tool that lets you securely and anonymously share files, host websites, and chat with friends using the Tor network. Prior to 2.6.4, OnionShare CLI/Desktop follows symbolic links in cli/onionshare_cli/web/send_base_mode.py through SendBaseModeWeb.set_file_info() and stream_individual_file(), allowing remote recipients of Share or Website mode to read local files outside the selected directory. This issue is fixed in version 2.6.4.
osv:CVE-2026-54706
Complete source record
{
"id": "f838ec029996bde004f40f93799ed62e394bb17870bd8d0610ffb7bbbdc03206",
"url": "https://osv.dev/vulnerability/CVE-2026-54706",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "OnionShare follows symlinks in shared directories, allowing unintended disclosure of local files",
"summary": "OnionShare is an open source tool that lets you securely and anonymously share files, host websites, and chat with friends using the Tor network. Prior to 2.6.4, OnionShare CLI/Desktop follows symbolic links in cli/onionshare_cli/web/send_base_mode.py through SendBaseModeWeb.set_file_info() and stream_individual_file(), allowing remote recipients of Share or Website mode to read local files outside the selected directory. This issue is fixed in version 2.6.4.",
"evidence": "osv:CVE-2026-54706",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-54706",
"aliases": [
"CVE-2026-54706",
"GHSA-22p9-r2f5-22mf",
"PYSEC-2026-3585"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/onionshare/onionshare",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "abc798f3fc449154f31509c7ec23267db0ebeefc"
},
{
"fixed": "48f31cfac077fcc9c04c67c2a6dbf87d956f5eec"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.6.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "48f31cfac077fcc9c04c67c2a6dbf87d956f5eec"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "abc798f3fc449154f31509c7ec23267db0ebeefc"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v2.6.4"
}
]
}
}
],
"versions": [
"v2.6.3",
"v0.9",
"v0.8.1",
"0.8",
"0.7.1",
"0.7",
"0.6",
"0.5",
"0.4",
"0.3",
"0.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54706.json"
}
}
],
"modified": "2026-10-28T02:30:28.984933873Z",
"provider": "osv",
"references": [
"https://github.com/onionshare/onionshare/releases/tag/v2.6.4",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54706.json",
"https://github.com/onionshare/onionshare/security/advisories/GHSA-22p9-r2f5-22mf",
"https://nvd.nist.gov/vuln/detail/CVE-2026-54706",
"https://github.com/onionshare/onionshare/commit/48f31cfac077fcc9c04c67c2a6dbf87d956f5eec"
],
"provider_metadata": {
"cwe_ids": [
"CWE-59"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54706.json"
}
},
"related_cves": [
{
"value": "CVE-2026-54706",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 495751,
"published_at": "2026-07-31T16:30:58.062+00:00"
}