CVE-2026-66012
Last modified
CVE-2026-66012 is a critical-severity vulnerability rated 10/10 on the CVSS scale. SiYuan before v3.7.2 contains a missing authorization vulnerability in the POST /mcp kernel endpoint, which is gated only by a general auth check (model.CheckAuth) with no admin-role or read-only enforcement. This exposes 31 MCP tools, including a file tool with list/read/write/delete/rename/copy actions across the entire workspace. EPSS estimates a 0.44% chance of exploitation in the next 30 days.
Description
SiYuan before v3.7.2 contains a missing authorization vulnerability in the POST /mcp kernel endpoint, which is gated only by a general auth check (model.CheckAuth) with no admin-role or read-only enforcement. This exposes 31 MCP tools, including a file tool with list/read/write/delete/rename/copy actions across the entire workspace. When the Publish server is enabled in anonymous mode (Conf.Publish.Enable=true and Conf.Publish.Auth.Enable=false), the Publish reverse proxy attaches an anonymous RoleReader JWT to proxied requests, allowing a remote unauthenticated attacker to reach /mcp. The attacker can read conf/conf.json to extract accessAuthCode, api.token, and cookieKey in plaintext, write arbitrary files in the workspace, and plant a plugin into data/plugins/ that executes with nodeIntegration:true and no contextIsolation on the next desktop launch, leading to administrator takeover.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| siyuan-note | siyuan | < 3.7.2 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-66012?
How severe is CVE-2026-66012?
How do I fix CVE-2026-66012?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-66007Datasets through 5.0.0, fixed in commit f989ef9, contains a …6.9
- CVE-2026-66008Parse Server versions >= 9.0.0 before 9.10.0-alpha.6 and >= …6.3
- CVE-2026-66009Parse Server versions >= 9.0.0 before 9.10.0-alpha.5 and >= …6.3
- CVE-2026-6601A vulnerability has been found in Lagom WHMCS Template up to…4.3
- CVE-2026-66010DOMPurify before 3.4.12 fails to execute afterSanitizeElemen…6.1
- CVE-2026-66011ImageMagick before 7.1.2-27 contains a memory leak vulnerabi…3.3
- CVE-2026-66013OpenRemote before 1.26.2 contains an authentication bypass v…9.3
- CVE-2026-66014JFrog Artifactory contains an authentication handling weakne…9.8
- CVE-2026-66015An authenticated privilege-escalation vulnerability in JFrog…7.2
- CVE-2026-66016Under specific self-hosted Helm configurations, generated TL…6.7
- CVE-2026-66018Build readers can access another repository's environment pr…6.5
- CVE-2026-6602A vulnerability was found in rickxy Hospital Management Syst…7.3
Are you affected by CVE-2026-66012?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
