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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-09 · Modified: 2026-07-10
- Aliases: GHSA-275h-v5h9-vr82, GO-2026-6350
- Record: https://cvemate.com/vulnerability/CVE-2026-59832 · JSON: https://cvemate.com/vulnerability/CVE-2026-59832/json

## Description

```text
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.
```

## Signals

- CVSS: 7.7 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- EPSS: 0.316%, percentile 26.488%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

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

## References

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

---

Data as of 2026-12-05T14:01:45.025Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
