Vulnerability 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 Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/siyuan-note/siyuan/commit/bb481e1290c4a34255652ede85a54650450
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gw25-m53r-qh88
- https://www.vulncheck.com/advisories/siyuan-before-path-traversal-via-export-tem
FAQ
What is CVE-2026-65607?
CVE-2026-65607 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 j...
How severe is CVE-2026-65607?
CVE-2026-65607 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-65607?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.