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…

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 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

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: 07/25/2026, 11:22:01 UTC

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.

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: 07/25/2026, 11:22:01 UTC

Last updated: 07/25/2026, 13:08:24 UTC

Views: 33

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