Description
SiYuan versions before v3.8.0 contain an incomplete path blocklist in the MCP file tool that fails to restrict access to sensitive workspace files protected by the HTTP API. Authenticated administrators can read plaintext publish-mode passwords from data/.siyuan/publishAccess.json and access other sensitive files like data/templates and data/snippets/conf.json.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| siyuan-note | siyuan | < 3.8.0 | 3.8.0 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/siyuan-note/siyuan/kernel | < 0.0.0-20260808051406-3542530c505f | 0.0.0-20260808051406-3542530c505f | GHSA-c8r8-95hg-mp34 |
References
- GitHub Security Advisory (GHSA-c8r8-95hg-mp34) vendor-advisory
- VulnCheck Advisory: SiYuan before v3.8.0 Incomplete Path Blocklist via MCP file tool third-party-advisory