CVE-2026-45371siyuan-note siyuan
High 7.2
Follow: this CVE · siyuan-note · siyuan-note siyuan We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 4.0
- 7.2
- EPSS
- —
- Auth required
- Yes
- Published
- May 14, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for siyuan.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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-gmmv-4cc5-wr9r, GO-2026-5402). Check the version in your lockfile before upgrading.
Affected products
- siyuan-note · siyuan
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.