CriticalVulnerability
CVE-2026-66012: SiYuan MCP kernel endpoint missing authorization exposes workspace files
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-66012
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.7%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
SiYuan versions before v3.7.2 have a missing authorization flaw in the POST /mcp kernel endpoint, which checks only a general auth check (model.CheckAuth) and enforces no admin-role or read-only restriction. When the Publish server runs in anonymous mode (Conf.Publish.Enable=true and Conf.Publish.Auth.Enable=false), its reverse proxy attaches an anonymous RoleReader JWT, so a remote unauthenticated attacker can reach /mcp. The attacker can read conf/conf.json for accessAuthCode, api.token and cookieKey, write workspace files and plant a plugin in data/plugins/ that runs with nodeIntegration:true and no contextIsolation, leading to administrator takeover.
Mitigation
Fixed in v3.7.2.
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online