CVE-2026-66012: Missing Authorization in siyuan-note siyuan
SiYuan note-taking software versions prior to 3.7.2 contain a critical missing authorization vulnerability in the POST /mcp kernel endpoint. This endpoint exposes 31 MCP tools without enforcing admin or read-only roles, allowing unauthorized access. When the Publish server is enabled in anonymous mode, remote unauthenticated attackers can exploit this to read sensitive configuration files and write arbitrary files, including malicious plugins that execute with elevated privileges on the next desktop launch. This vulnerability enables full administrator takeover of the affected system.
AI Analysis
Technical Summary
CVE-2026-66012 describes a missing authorization vulnerability in SiYuan note-taking software before version 3.7.2. The POST /mcp kernel endpoint is protected only by a general authentication check without role enforcement, exposing multiple MCP tools that allow file operations across the workspace. If the Publish server is configured in anonymous mode (Conf.Publish.Enable=true and Conf.Publish.Auth.Enable=false), the reverse proxy attaches an anonymous RoleReader JWT to proxied requests, enabling remote unauthenticated attackers to access /mcp. Attackers can read the conf/conf.json file to extract sensitive secrets such as accessAuthCode, api.token, and cookieKey in plaintext. They can also write arbitrary files, including planting a plugin in data/plugins/ that runs with nodeIntegration:true and no contextIsolation on the next desktop launch, resulting in complete administrator takeover.
Potential Impact
An attacker can remotely and without authentication access the /mcp endpoint, bypassing intended authorization controls. This allows reading sensitive configuration files containing secrets, writing arbitrary files in the workspace, and planting malicious plugins that execute with high privileges. The ultimate impact is full administrator compromise of the affected SiYuan installation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid enabling the Publish server in anonymous mode (Conf.Publish.Enable=true and Conf.Publish.Auth.Enable=false) to reduce exposure. Restrict access to the /mcp endpoint and monitor for unauthorized activity. Follow vendor guidance once published for applying official patches or temporary mitigations.
CVE-2026-66012: Missing Authorization in siyuan-note siyuan
Description
SiYuan note-taking software versions prior to 3.7.2 contain a critical missing authorization vulnerability in the POST /mcp kernel endpoint. This endpoint exposes 31 MCP tools without enforcing admin or read-only roles, allowing unauthorized access. When the Publish server is enabled in anonymous mode, remote unauthenticated attackers can exploit this to read sensitive configuration files and write arbitrary files, including malicious plugins that execute with elevated privileges on the next desktop launch. This vulnerability enables full administrator takeover of the affected system.
CVSS v4.0
Score 10.0critical
Affected software
pkg:github/siyuan-note/siyuanRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-66012 describes a missing authorization vulnerability in SiYuan note-taking software before version 3.7.2. The POST /mcp kernel endpoint is protected only by a general authentication check without role enforcement, exposing multiple MCP tools that allow file operations across the workspace. If the Publish server is configured in anonymous mode (Conf.Publish.Enable=true and Conf.Publish.Auth.Enable=false), the reverse proxy attaches an anonymous RoleReader JWT to proxied requests, enabling remote unauthenticated attackers to access /mcp. Attackers can read the conf/conf.json file to extract sensitive secrets such as accessAuthCode, api.token, and cookieKey in plaintext. They can also write arbitrary files, including planting a plugin in data/plugins/ that runs with nodeIntegration:true and no contextIsolation on the next desktop launch, resulting in complete administrator takeover.
Potential Impact
An attacker can remotely and without authentication access the /mcp endpoint, bypassing intended authorization controls. This allows reading sensitive configuration files containing secrets, writing arbitrary files in the workspace, and planting malicious plugins that execute with high privileges. The ultimate impact is full administrator compromise of the affected SiYuan installation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid enabling the Publish server in anonymous mode (Conf.Publish.Enable=true and Conf.Publish.Auth.Enable=false) to reduce exposure. Restrict access to the /mcp endpoint and monitor for unauthorized activity. Follow vendor guidance once published for applying official patches or temporary mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-23T19:22:30.643Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6498f89c2644c7f8408917
Added to database: 07/25/2026, 11:07:36 UTC
Last enriched: 07/25/2026, 11:22:01 UTC
Last updated: 07/25/2026, 13:08:24 UTC
Views: 33
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.