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.
- CVSS 3.1
- 7.7
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N - EPSS
- 0.5% chance of exploitation in the next 30 days; higher than 39% of CVEs (scores of 2026-10-25)
- CWEs
- CWE-22, CWE-23
- Published
- Modified
- Record from
- the NVD, synced
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-275h-v5h9-vr82 | Go | github.com/siyuan-note/siyuan/kernel | <0.0.0-20260704035520-68cc0f537dfa | 0.0.0-20260704035520-68cc0f537dfa |
| GO-2026-6350 | Go | github.com/siyuan-note/siyuan/kernel | <0.0.0-20260704035520-68cc0f537dfa | 0.0.0-20260704035520-68cc0f537dfa |