CVE-2026-85580
moderatePath guard bypass in SiYuan MCP file handler exposes protected publishAccess.json
SiYuan, an open-source note-taking and knowledge-management application, versions before v3.8.2 contain a path guard bypass (CWE-22) in the MCP (Model Context Protocol) file-access handler: the guard compares requested paths case-sensitively on Linux filesystems, so a case-variant request such as 'PublishAccess.json' slips past the intended restriction. An attacker with low-privileged (authenticated) network access to an affected instance's MCP file-access interface can trigger the bypass by requesting case-variant paths. Successful exploitation discloses the protected publishAccess.json file, leaking the instance's publish-access configuration and metadata; the impact is confidentiality-only (no file modification or execution). Any SiYuan instance running a version before 3.8.2 is affected, with practical exposure limited to Linux deployments where the MCP file-access handler and publish feature are enabled and network-reachable. No public proof-of-concept is known, the flaw is not in CISA KEV, and EPSS currently estimates only about a 0.5% probability of exploitation within 30 days, so no in-the-wild exploitation is known.
What to do: Upgrade SiYuan to v3.8.2 or later, which fixes the MCP path guard. As interim mitigation on pre-3.8.2 versions, restrict the MCP file-access interface to trusted or local networks (e.g., firewall or bind to localhost) and verify on Linux instances that case-variant requests such as 'PublishAccess.json' no longer return the protected publishAccess.json file.
| B3log (SiYuan) SiYuan | all versions before 3.8.2 (fixed in 3.8.2) |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
SiYuan versions before v3.8.2 contain a path guard bypass vulnerability in the MCP file-access handler that uses case-sensitive matching on Linux filesystems. Attackers can read the protected publishAccess.json file by requesting case-variant paths like PublishAccess.json to disclose sensitive publish-access configuration and metadata.
- Weakness
- CWE-22
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
In the news0 stories
No ingested article mentions this CVE yet.