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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-22",
"CWE-23"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59832.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.7.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "68cc0f537dfa4502496dfa794e71835421c25c09"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v3.7.1",
"range": [
{
"fixed": "c72ca4cd09019e5f64afdee8f8c6ec5ef34858db"
}
],
"source": "REFERENCES_TAG"
}
]
}