cve.bz

CVE-2026-45147

4.3 mediumEPSS 0.2%

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.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS
0.2% chance of exploitation in the next 30 days; higher than 4% of CVEs (scores of 2026-10-31)
CWEs
CWE-285, CWE-862
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6r88-8v7q-q4p2Gogithub.com/siyuan-note/siyuan/kernel<0.0.0-20260512140701-d7b77d945e0d0.0.0-20260512140701-d7b77d945e0d
GO-2026-5188Gogithub.com/siyuan-note/siyuan/kernel<0.0.0-20260512140701-d7b77d945e0d0.0.0-20260512140701-d7b77d945e0d

References

Check your stackJSON