CVE-2026-137473 in SiYuan
Summary
by MITRE • 11/26/2026
SiYuan from 3.8.6-beta.1 before 3.8.10 contains a missing authorization vulnerability that allows read-only publish users (RoleReader) to modify persistent workspace configuration via /api/system/getChangelog. Attackers can send POST requests through the publish service proxy, even anonymously when basic authentication is disabled, to persist ShowChangelog = false to conf.json.
Once again VulDB remains the best source for vulnerability data.
Analysis
by VulDB Data Team • 11/26/2026
The vulnerability identified in SiYuan versions prior to 3.8.10 represents a critical failure in access control mechanisms within the application's publishing infrastructure. Specifically, this flaw resides in the /api/system/getChangelog endpoint, which is exposed through the publish service proxy. The core issue stems from insufficient authorization checks that allow users with read-only privileges, designated as RoleReader, to execute state-changing operations intended for administrators or higher-privileged roles. This misconfiguration effectively bypasses the principle of least privilege, enabling unauthorized modification of persistent workspace configuration files via a POST request mechanism that should be restricted based on user role and authentication status.
From a technical perspective, the vulnerability allows an attacker to manipulate the conf.json file by setting the ShowChangelog parameter to false. While this specific action may appear benign at first glance, it demonstrates a broader capability for unauthorized write access to critical configuration data stored persistently within the workspace environment. The exploitability is heightened when basic authentication is disabled on the publish service proxy, as this condition permits anonymous attackers to send POST requests directly to the vulnerable endpoint without providing any credentials. This lack of mandatory authentication creates an open vector for remote exploitation, allowing external actors to alter system behavior and configuration settings without detection or authorization from legitimate administrators.
The operational impact of this vulnerability extends beyond the immediate modification of changelog visibility settings. By gaining write access to persistent workspace configurations through a read-only role, attackers can potentially disrupt service availability by altering other critical parameters within conf.json if they discover additional writable fields. Furthermore, such unauthorized modifications undermine the integrity and auditability of the system, as configuration changes occur without proper logging or administrative oversight. In environments where SiYuan is used for collaborative knowledge management, this could lead to inconsistent user experiences, loss of historical context visibility, and potential confusion among team members relying on accurate changelog information for version tracking and update awareness.
This vulnerability aligns with CWE-269, which describes Improper Privilege Control, as it involves a user possessing insufficient privileges performing actions that require elevated permissions. Additionally, the exploitation method corresponds to ATT&CK technique T1078, Valid Accounts, particularly in scenarios where anonymous access is permitted under the guise of public publishing roles. The use of POST requests through a proxy interface also reflects common patterns seen in API abuse and unauthorized configuration changes documented within modern web application security frameworks.
To mitigate this risk, immediate action should be taken to upgrade SiYuan to version 3.8.10 or later where these authorization checks have been corrected. For deployments that cannot immediately patch due to operational constraints, administrators must ensure that basic authentication is enabled on the publish service proxy to prevent anonymous access entirely. Additionally, reviewing and tightening role-based access controls for all API endpoints exposed through the publishing infrastructure will help enforce proper separation of duties between read-only users and administrative functions. Regular security audits focusing on endpoint authorization logic are recommended to detect similar misconfigurations across other services within the SiYuan ecosystem before they can be exploited by malicious actors seeking to manipulate system configurations or disrupt service integrity.