External risk intelligence

SiYuan Missing Authorization Administrator Takeover

CVE advisorySeverity: CRITICAL (CVSS 10.0)

CVE-2026-66012

The vulnerability affects a software component that provides a web-based Publish server. When configured in a specific but supported anonymous mode, this interface becomes reachable to remote unauthenticated users, effectively exposing the application's API endpoints to the public internet.

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This advisory concerns a critical vulnerability in SiYuan software related to its POST /mcp kernel endpoint. A flaw in authorization checks allows unauthenticated remote attackers to gain full administrator control of the system by exploiting the file tool and potentially planting malicious plugins.

  • Unauthenticated access to administrator functions.
  • Allows full system takeover.
  • Confirm relevance and exposure to SiYuan.

Attack Path

How an attacker could exploit the issue

A remote attacker could exploit a missing authorization flaw in the SiYuan Publish server's POST /mcp endpoint to gain administrative control. This is possible when the server is configured for anonymous publishing, allowing unauthenticated requests to bypass proper role checks. The attacker can then extract sensitive credentials, manipulate files, and deploy malicious plugins, ultimately leading to full system takeover upon the next desktop application launch.

  • Anonymous publishing enabled on Publish server.
  • POST /mcp endpoint triggered remotely.
  • Administrator takeover via plugin execution.

Live Threat

Current exploitation, exposure, and threat context

When the Publish server is enabled in anonymous mode, this vulnerability could allow an unauthenticated remote attacker to gain administrative control over the SiYuan workspace. This is achieved by exploiting a missing authorization check in the kernel's POST /mcp endpoint, which exposes various file management tools. The attacker could potentially read sensitive configuration details, write arbitrary files, and install a malicious plugin that executes with elevated privileges upon the next desktop launch.

  • Workspace files and configuration data.
  • Through anonymous, open Publish server access.
  • Complete administrator takeover of the application.

Operational Fix

Recommended remediation, mitigation, and detection steps

The SiYuan Publish server, when enabled anonymously, presents a critical risk of administrator takeover by allowing unauthenticated remote attackers to execute arbitrary code. Application owners and platform teams are likely responsible for identifying and securing this component. The immediate priority is to locate all instances of the affected technology, verify their exposure to anonymous access, and confirm ownership to plan remediation.

  • Application owners should prioritize this issue.
  • Verify anonymous Publish server access status.
  • Plan remediation based on identified risk.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is SiYuan software?

SiYuan is a privacy-focused, local-first note-taking application that supports features like workspace management and collaborative publishing. It includes a built-in kernel and a Publish server component that allows users to share their content online. Because it manages personal data and workspace files, it provides powerful internal tools for file operations and plugin management that, if improperly secured, could be abused.

How does the missing authorization vulnerability in CVE-2026-66012 work?

This issue is a missing authorization flaw (CWE-862). In SiYuan, the kernel endpoint used to process commands for tools lacks a strict check to verify if the requester has administrative rights. While it performs a basic authentication check, it fails to enforce specific role-based permissions. This allows an attacker to interact with sensitive tools that should be restricted, such as those capable of reading or modifying files, as if they were an authorized administrator.

What triggers the vulnerability in the SiYuan Publish server?

The vulnerability is triggered when the SiYuan Publish server is explicitly configured in anonymous mode. This requires both the publishing feature to be enabled and the authentication requirement to be disabled. When these conditions are met, the server acts as an open proxy, allowing remote, unauthenticated requests to reach the internal kernel endpoint. If authentication is enabled or the Publish server is not running in anonymous mode, the bug cannot be triggered in this way.

Is my SiYuan instance at risk according to Halo Surface Signal?

Halo Surface Signal indicates a likely risk if your Publish server is exposed to the public internet while configured for anonymous access. This setup makes internal API endpoints reachable to anyone online. If your instance is not exposed to the internet, or if you have disabled anonymous publishing, the immediate risk of remote unauthenticated access is significantly mitigated.

How should I respond to the SiYuan CVE-2026-66012 advisory?

First, identify all SiYuan installations in your environment and determine if the Publish server is active. Check your configuration settings to see if anonymous publishing is enabled. If it is, consider disabling anonymous access immediately or restricting network access to the server. Prioritize verifying your current version, as updating to a patched release is the standard method for resolving this software flaw and restoring proper authorization controls.

References