Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.6%top 56%

CVE-2026-66012: Missing Authorization in siyuan-note siyuan

0
Critical
VulnerabilityCVE-2026-66012cvecve-2026-66012
Published: 07/25/2026 (07/25/2026, 10:45:56 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: siyuan

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.

CVSS v4.0

Score 10.0critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
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

Affected software

GitHub Actionsmore threats →ai
siyuan-note/siyuan
pkg:github/siyuan-note/siyuan
Affected versions
<3.7.2

Run 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

AILast updated: 08/01/2026, 20:54:38 UTC

Technical Analysis

CVE-2026-66012 affects SiYuan note-taking software versions before 3.7.2. The vulnerability arises from a missing authorization check on the POST /mcp kernel endpoint, which is protected only by a general auth check without role enforcement. This endpoint exposes numerous MCP tools, including 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 requests, enabling remote unauthenticated attackers to access /mcp. Attackers can read the conf/conf.json file to obtain sensitive secrets such as accessAuthCode, api.token, and cookieKey in plaintext. They can also write arbitrary files and plant malicious plugins in data/plugins/ that run with nodeIntegration:true and no contextIsolation on the next desktop launch, resulting in full administrator compromise.

Potential Impact

The vulnerability allows remote unauthenticated attackers to bypass authorization controls and perform sensitive file operations including reading configuration files containing secrets and writing arbitrary files. This can lead to planting malicious plugins that execute with high privileges, resulting in complete administrator takeover of the affected system.

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 prevent exposure. Monitor vendor channels for updates and apply any official patches once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 08/01/2026, 20:54:38 UTC

Last updated: 09/07/2026, 10:52:10 UTC

Views: 223

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses