Skip to main content
← All vulnerabilities
CVE-2026-59832GHSA-275H-V5H9-VR82GO-2026-6350

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.7.1, 0.0.0-20260704035520-68cc0f537dfa
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • siyuan-note siyuan

    fixed in 3.7.1

  • github.com/siyuan-note/siyuan/kernelGo

    fixed in 0.0.0-20260704035520-68cc0f537dfa

References 3

GitHub · siyuan-note/siyuan