CVE-2026-65607: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in siyuan-note siyuan
SiYuan before v3.7.2 contains a path traversal vulnerability in the /export/temp/ short-circuit branch of the serveExport handler (kernel/server/serve.go). Unlike the main export branch, this branch joins the raw, percent-decoded request path with util.TempDir and serves the file without the IsSubPath or IsSensitivePath checks added in the earlier export-disclosure hardening (GHSA-6865-qjcf-286f). An authenticated attacker can send percent-encoded traversal sequences (e.g. /export/temp/%2e%2e/.../etc/passwd, where %2e%2e is decoded to '..') to read arbitrary files outside TempDir, including /etc/passwd, SSH keys (~/.ssh/*), and SiYuan workspace *.db and *.log files, bypassing the sensitive-file protection.
AI Analysis
Technical Summary
CVE-2026-65607 describes a path traversal vulnerability in SiYuan note-taking software prior to version 3.7.2. The vulnerability exists in the /export/temp/ short-circuit branch of the serveExport handler (kernel/server/serve.go), where the raw, percent-decoded request path is joined with the temporary directory path and served without IsSubPath or IsSensitivePath checks. This allows an authenticated attacker to craft requests with percent-encoded traversal sequences (e.g., %2e%2e for '..') to read arbitrary files outside the intended directory, including sensitive system and application files. The vulnerability bypasses protections added in a previous hardening effort (GHSA-6865-qjcf-286f).
Potential Impact
An authenticated attacker can read arbitrary files on the system running SiYuan, including sensitive files such as /etc/passwd, SSH private keys, and SiYuan workspace database and log files. This exposure can lead to information disclosure and potential further compromise of the affected system. The vulnerability does not require user interaction and has a low attack complexity but requires authentication.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects versions before v3.7.2, upgrading to version 3.7.2 or later is likely to address the issue. Until an official fix is confirmed, restrict access to the affected endpoint to trusted users and monitor for suspicious activity involving path traversal patterns in requests.
CVE-2026-65607: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in siyuan-note siyuan
Description
SiYuan before v3.7.2 contains a path traversal vulnerability in the /export/temp/ short-circuit branch of the serveExport handler (kernel/server/serve.go). Unlike the main export branch, this branch joins the raw, percent-decoded request path with util.TempDir and serves the file without the IsSubPath or IsSensitivePath checks added in the earlier export-disclosure hardening (GHSA-6865-qjcf-286f). An authenticated attacker can send percent-encoded traversal sequences (e.g. /export/temp/%2e%2e/.../etc/passwd, where %2e%2e is decoded to '..') to read arbitrary files outside TempDir, including /etc/passwd, SSH keys (~/.ssh/*), and SiYuan workspace *.db and *.log files, bypassing the sensitive-file protection.
CVSS v4.0
Score 7.1high
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-65607 describes a path traversal vulnerability in SiYuan note-taking software prior to version 3.7.2. The vulnerability exists in the /export/temp/ short-circuit branch of the serveExport handler (kernel/server/serve.go), where the raw, percent-decoded request path is joined with the temporary directory path and served without IsSubPath or IsSensitivePath checks. This allows an authenticated attacker to craft requests with percent-encoded traversal sequences (e.g., %2e%2e for '..') to read arbitrary files outside the intended directory, including sensitive system and application files. The vulnerability bypasses protections added in a previous hardening effort (GHSA-6865-qjcf-286f).
Potential Impact
An authenticated attacker can read arbitrary files on the system running SiYuan, including sensitive files such as /etc/passwd, SSH private keys, and SiYuan workspace database and log files. This exposure can lead to information disclosure and potential further compromise of the affected system. The vulnerability does not require user interaction and has a low attack complexity but requires authentication.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects versions before v3.7.2, upgrading to version 3.7.2 or later is likely to address the issue. Until an official fix is confirmed, restrict access to the affected endpoint to trusted users and monitor for suspicious activity involving path traversal patterns in requests.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-22T10:48:36.000Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6207979c2644c7f80b64a7
Added to database: 07/23/2026, 12:22:47 UTC
Last enriched: 07/30/2026, 22:26:44 UTC
Last updated: 09/05/2026, 22:52:12 UTC
Views: 92
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.