CVE Catalog

CVE-2026-45371

High
Published: Translated: NVD NIST

Summary

SiYuan is a knowledge management system that prior to version 3.7.0 had security vulnerabilities related to 8 ungated APIs that could modify configuration and SQL index. Users with a valid JWT token could access these APIs, leading to unauthorized changes to server state.

Risk Assessment

Organizations may be exposed to unauthorized modifications of data and configuration, potentially leading to loss of system and data integrity. In particular, anonymous users could make changes to the system, posing a serious security threat.

Recommendation

It is recommended to upgrade SiYuan to version 3.7.0 or later to eliminate this vulnerability. Additionally, conducting an audit of permissions and API access is advisable to minimize the risk of unauthorized actions.

Other vulnerabilities in SiYuan

See all
Original NVD description (English source)

SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, SiYuan publish-mode Reader can mutate Conf and SQL index via 8 ungated APIs. POST /api/graph/getGraph, POST /api/graph/getLocalGraph, POST /api/sync/setSyncInterval, POST /api/storage/updateRecentDocViewTime, POST /api/storage/updateRecentDocCloseTime, POST /api/storage/updateRecentDocOpenTime, POST /api/storage/batchUpdateRecentDocCloseTime, and POST /api/search/updateEmbedBlock are registered with model.CheckAuth only, omitting both model.CheckAdminRole and model.CheckReadonly. Each of them writes server-side state, including atomic rewrites of <workspace>/conf/conf.json via model.Conf.Save(). Any caller whose JWT passes CheckAuth, including a publish-service RoleReader (the role assigned to anonymous publish visitors) and a RoleEditor against a workspace where Editor.ReadOnly = true, can hit them This vulnerability is fixed in 3.7.0.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS