Live › vulnerability › CVE-2026-60083
Go to dashboardThe SiYuan MCP file tool blocks only conf/conf.json, while the HTTP file API also blocks data/snippets/conf.json, data/templates and data/.siyuan/publishAccess.json. An authenticated Administrator-level MCP client can read the plaintext publish-mode passwords in publishAccess.json.
Summary written from the sources below. Check the originals before acting.
First seen by InfraStack 2026-10-27 14:47 UTC, 0h before NVD. All times on this page are UTC.
Teams running SiYuan with the MCP server enabled and an MCP client that holds Administrator-level credentials can read publish-mode passwords through the file tool. Installations without MCP exposure, or where only trusted operators hold admin tokens, face little practical risk. Installations that do not use publish mode have nothing to protect there.
| Product | Ecosystem | Affected | Fixed in |
|---|---|---|---|
| github.com/siyuan-note/siyuan/kernel | go | < 0.0.0-20260808051406-3542530c505f | 0.0.0-20260808051406-3542530c505f |
go list -m github.com/siyuan-note/siyuan/kernel or the release tag in use0.0.0-20260808051406-3542530c505f or laterdata/.siyuan/publishAccess.jsonEach row is the first time that source carried this signal. The analyst’s rows are its own findings.
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.jsondata/templates directorydata/.siyuan/publishAccess.jsonkernel/mcp/tools/file.go resolvePath() blocks only:
confPath := filepath.Join(util.ConfDir, "conf.json")
if abs == confPath {
return "", fmt.Errorf("access to conf.json is forbidden")
}
Items 2, 3, and 4 are absent. The tool's own list/read/grep/find actions remain fully
functional against them.
An MCP client with access to the file tool (post-fix for GHSA-cvhv-7xhj-xjp8, i.e. a properly
authenticated Administrator-level caller) can read data/.siyuan/publishAccess.json directly:
type PublishAccessItem struct {
ID string `json:"id"`
Visible bool `json:"visible"`
Password string `json:"password"` // plaintext; empty string = no password
Disable bool `json:"disable"`
}
This exposes the plaintext access password for every publish-mode-shared notebook/document, letting the reader bypass password protection on any publish-mode share. This is a serious sibling issue given the volume of publish-mode access-control bugs already reported against this codebase — the passwords protecting exactly that feature are directly readable through a tool whose own description says "never use for workspace data."
data/templates and data/snippets/conf.json are lower-severity but still inconsistent with
the HTTP API's own precedent for what counts as sensitive.
GHSA-cvhv-7xhj-xjp8 was about reachability an unauthenticated Reader-tier JWT being forwarded
to admin-scoped paths including /mcp. That has been fixed. This report is about the tool's own
scope once reached by a legitimate, properly-authenticated caller, the remediation notes for
that same advisory explicitly called for restricting resolvePath to
WorkspaceDir/temp/siyuan/*.log, which was not implemented; instead the tool retains
workspace-wide scope with only a single-file blocklist addition.
Either replicate the full refuseToAccess() blocklist in resolvePath() (minimum fix, keeps
parity with the HTTP API going forward by extracting refuseToAccess's path list into a shared
helper both call), or implement the originally-recommended allowlist restricting the tool to
WorkspaceDir/temp/siyuan/*.log for read and disabling write/delete/rename/copy entirely unless
the caller is Administrator, matching the tool's own advertised "debugging/log reading only"
scope.
This page as .md · .json · in your agent: get_signal("CVE-2026-60083")
GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.