← CVE Intelligence

CVE-2026-59832

SiYuan: Authenticated path traversal in /snippets/ static handler (serveSnippets) leaks conf/conf.json secrets and siyuan.db PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
siyuan-note / siyuanaffected < 3.7.1

CWE

CWE-22, CWE-23

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.