CVE-2026-45147

Medium

Description

SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, POST /api/tag/getTag is registered with model.CheckAuth only, omitting both model.CheckAdminRole and model.CheckReadonly, despite the handler performing a configuration write that is normally guarded by both. Any authenticated user — including publish-service RoleReader accounts and RoleEditor accounts on a read-only workspace — can call this endpoint with a sort argument to mutate model.Conf.Tag.Sort and trigger model.Conf.Save(), which atomically rewrites the entire workspace conf.json. This vulnerability is fixed in 3.7.0.

SeverityMedium
CVSS4.3
Exploit probability—
ProductGithub.com/siyuan-note/siyuan/kernel
PublishedMay 14, 2026
First seenMay 14, 2026

How to fix

Update
  • github.com/siyuan-note/siyuan/kernel0.0.0-20260512140701-d7b77d945e0d or later

Affected products

ProductAffected versionsFixed in
github.com/siyuan-note/siyuan/kernelGov < 0.0.0-20260512140701-d7b77d945e0d0.0.0-20260512140701-d7b77d945e0d

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.