# CVE-2026-59832: SiYuan: Authenticated path traversal in /snippets/ static handler (serveSnippets) leaks conf/conf.json secrets and siyuan.db

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-07-09T22:18:15.776Z
- Modified: 2026-10-25T15:10:00.147Z
- Also known as: GHSA-275h-v5h9-vr82, GO-2026-6350
- Weaknesses: CWE-22, CWE-23
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.7.1
- github.com/siyuan-note/siyuan/kernel (Go): before 0.0.0-20260704035520-68cc0f537dfa

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-275h-v5h9-vr82> (advisory, web)
- <https://github.com/siyuan-note/siyuan/commit/68cc0f537dfa4502496dfa794e71835421c25c09> (web)
- <https://github.com/siyuan-note/siyuan/releases/tag/v3.7.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59832> (advisory)
- <https://github.com/siyuan-note/siyuan> (package)

## Sources

- CVE List: [CVE-2026-59832](https://www.cve.org/CVERecord?id=CVE-2026-59832), CVE Terms of Use, modified 2026-07-10
- GitHub Advisory Database: [GHSA-275h-v5h9-vr82](https://github.com/advisories/GHSA-275h-v5h9-vr82), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-6350](https://pkg.go.dev/vuln/GO-2026-6350), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-59832](https://nvd.nist.gov/vuln/detail/CVE-2026-59832), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-59832 · Whole record: https://cve.day/CVE-2026-59832.json · Rebuilt by cve.day 2026-11-25T22:59:27.577Z
