{"cve":"CVE-2026-59832","nvd":{"published":"2026-07-09T23:17:05.627","modified":"2026-10-25T15:10:00.147","status":"Deferred","description":"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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7},"cwes":["CWE-22","CWE-23"],"references":["https://github.com/siyuan-note/siyuan/commit/68cc0f537dfa4502496dfa794e71835421c25c09","https://github.com/siyuan-note/siyuan/releases/tag/v3.7.1","https://github.com/siyuan-note/siyuan/security/advisories/GHSA-275h-v5h9-vr82"],"products":[],"source":"nvd","synced_at":"2026-10-25T17:50:06.907763985+00:00"},"epss":{"cve":"CVE-2026-59832","score":0.00465,"percentile":0.39989,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-275h-v5h9-vr82","url":"https://osv.dev/vulnerability/GHSA-275h-v5h9-vr82","summary":"Siyuan: Authenticated path traversal in /snippets/ static handler (serveSnippets) leaks conf/conf.json secrets and siyuan.db","modified":"2026-09-10T15:25:57.076834034Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["<0.0.0-20260704035520-68cc0f537dfa"],"fixed":["0.0.0-20260704035520-68cc0f537dfa"]}]},{"id":"GO-2026-6350","url":"https://osv.dev/vulnerability/GO-2026-6350","summary":"Siyuan: Authenticated path traversal in /snippets/ static handler (serveSnippets) leaks conf/conf.json secrets and siyuan.db in github.com/siyuan-note/siyuan/kernel","modified":"2026-09-10T15:15:15.055190633Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["<0.0.0-20260704035520-68cc0f537dfa"],"fixed":["0.0.0-20260704035520-68cc0f537dfa"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}