Vulnerability
CVE-2026-59832
SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, the /snippets/*filepath route handler serveSnippets in kernel/server/serve.go joins a single-decoded request path with the snippets directory without subpath containment or sensitive-path checks, allowing an authenticated request such as /snippets/%2e%2e/%2e%2e/conf/conf.json to read workspace secrets and the document database. This issue is fixed in versions 3.7.1.
5 advisories report this vulnerability, across 3 ecosystems.
Advisories
-
GHSA-275h-v5h9-vr82
Siyuan: Authenticated path traversal in /snippets/ static handler (serveSnippets) leaks conf/conf.json secrets and siyuan.db
-
GO-2026-6350
Siyuan: Authenticated path traversal in /snippets/ static handler (serveSnippets) leaks conf/conf.json secrets and siyuan.db in github.com/siyuan-note/siyuan/kernel
-
SUSE-SU-2026:23855-1
Security update for govulncheck-vulndb
-
SUSE-SU-2026:23863-1
Security update for govulncheck-vulndb
-
openSUSE-SU-2026:21897-1
Security update for govulncheck-vulndb