{"id":82546,"date":"2026-07-25T14:47:19","date_gmt":"2026-07-25T11:17:19","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-66012-siyuan-before-v3-7-2-unauthenticated-administrator-takeover-via-mcp\/"},"modified":"2026-07-25T14:47:19","modified_gmt":"2026-07-25T11:17:19","slug":"cve-2026-66012-siyuan-before-v3-7-2-unauthenticated-administrator-takeover-via-mcp","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-66012-siyuan-before-v3-7-2-unauthenticated-administrator-takeover-via-mcp\/","title":{"rendered":"CVE-2026-66012 &#8211; SiYuan before v3.7.2 Unauthenticated Administrator Takeover via MCP"},"content":{"rendered":"<p>CVE ID :CVE-2026-66012<\/p>\n<p>  Published : July 25, 2026, 11:17 a.m. | 35\u00a0minutes ago<\/p>\n<p>  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.<\/p>\n<p>  Severity: 10.0 | CRITICAL<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-66012 Published : July 25, 2026, 11:17 a.m. | 35\u00a0minutes ago 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-82546","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82546","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=82546"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82546\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=82546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=82546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=82546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}