CVE Catalog

CVE-2026-65607

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.40%

33th percentile - higher than 33% of all known CVEs

Summary

SiYuan before version 3.7.2 contains a path traversal vulnerability in the /export/temp/ branch of the serveExport handler. An authenticated attacker can use percent-encoded traversal sequences to read arbitrary files outside TempDir, including /etc/passwd, SSH keys, and database files.

Risk Assessment

The risk includes exposure of sensitive system and user data, such as passwords, private SSH keys, and SiYuan workspace database files.

Recommendation

Immediately upgrade SiYuan to version 3.7.2 or later, which includes a fix for this vulnerability.

Other vulnerabilities in SiYuan

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS