CVE-2026-65607

published 23 Jul 2026 · updated 8 Oct 2026

SiYuan before v3.7.2 Path Traversal via /export/temp/

6.5MediumCVSS 6.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.7.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
siyuan-note<3.7.23.7.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-65607 severity on Zeptric[![CVE-2026-65607](https://zeptric.io/badge/cve/CVE-2026-65607.svg)](https://zeptric.io/cve/CVE-2026-65607)