Live threats

All CVEs / siyuan-note

CVE-2026-45147siyuan-note siyuan

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
—
Auth required
Yes
Published
May 14, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-285, CWE-862
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for siyuan.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/siyuan-note/siyuan/kernel < 0.0.0-20260512140701-d7b77d945e0d 0.0.0-20260512140701-d7b77d945e0d go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260512140701-d7b77d945e0d
Go github.com/siyuan-note/siyuan/kernel < 0.0.0-20260512140701-d7b77d945e0d 0.0.0-20260512140701-d7b77d945e0d go get github.com/siyuan-note/siyuan/kernel@v0.0.0-20260512140701-d7b77d945e0d

Per OSV / GitHub Advisories (GHSA-6r88-8v7q-q4p2, GO-2026-5188). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.