Go
CVE-2026-60083
SiYuan: MCP file tool's blocklist is incomplete relative to the HTTP file API it claims to align with, exposing publish-mode passwords and other sensitive workspace files
- Severity
- Medium 4.9
- Published
- 27 Oct 2026
- Last changed
- 5 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 0.0.0-20260808051406-3542530c505f
- Exploit chance
- 0.4% in the next 30 daysHigher than 33% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · Needs an administrator account · No user action needed
- Attacker can
- Read data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N- Also known as
- GHSA-c8r8-95hg-mp34, GO-2026-6863
- Sources
- OSV.dev and GitHub
Description
kernel/mcp/tools/file.go's resolvePath() includes an explicit comment stating its sensitive-path blocklist is meant to align with the HTTP file API's established blacklist (refuseToAccess() in kernel/api/file.go), following the remediation for GHSA-cvhv-7xhj-xjp8 ("Unauthenticated Administrator takeover exfiltrated via the MCP"), which specifically recommended restricting this tool's scope. In practice, the MCP tool implements only 1 of the 4 static blocklist entries the HTTP API enforces.
kernel/api/file.go refuseToAccess() blocks:
- conf/conf.json (API token, cookie signing key, accessAuthCode)
- data/snippets/conf.json
- the entire data/templates directory
- data/.siyuan/publishAccess.json
- (dynamic, per-request) any path the current publish-mode session isn't authorized for
kernel/mcp/tools/file.go resolvePath() blocks only:
Items 2, 3, and 4 are absent. The tool's own list/read/grep/find actions remain fully functional against them.
Affected software
| Software | Affected versions |
|---|---|
github.com/siyuan-note/siyuan/kernelGo · osv:Go:github.com/siyuan-note/siyuan/kernel |
|
About github.com/siyuan-note/siyuan/kernel
Vulnerabilities in github.com/siyuan-note/siyuan/kernel
- In our list
- 10
- Published in the last 12 months
- 10
- Critical, last 12 months
- 1
- High, last 12 months
- 2
- Known exploited
- 0
- CVE-2026-134245SiYuan 3.8.0 before 3.8.10 Incorrect Authorization via /assets Cross-document Asset CollisionHigh 8.7 21 Nov 2026
- CVE-2026-134247SiYuan 3.8.0 before 3.8.10 Incorrect Authorization Exposes Asset Text via getAssetContentByPathHigh 8.7 21 Nov 2026
- CVE-2026-126265SiYuan 2.1.0 before 3.8.9 CAPTCHA Bypass via Stale Login CookieCritical 9.1 13 Nov 2026
- CVE-2026-126776SiYuan 3.7.0 before 3.8.10 Path Traversal File Write via MCP web_fetchMedium 6.0 11 Nov 2026
- CVE-2026-118680SiYuan 3.8.7 through 3.8.8 Path Traversal via GLOBALROOT AliasMedium 5.9 28 Oct 2026
- CVE-2026-116171SiYuan 3.5.4 before 3.8.7 Sensitive Path Bypass via Windows Extended-Length PrefixMedium 5.9 25 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-60083
- GitHub Advisory Database https://github.com/advisories/GHSA-c8r8-95hg-mp34