# CVE-2026-45371: SiYuan: SiYuan publish-mode Reader can mutate Conf and SQL index via 8 ungated APIs

- Severity: High 7.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-13T15:33:52.000Z
- Modified: 2026-06-25T23:11:04.181Z
- Also known as: GHSA-gmmv-4cc5-wr9r, GO-2026-5402
- Weaknesses: CWE-285, CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.7.0
- github.com/siyuan-note/siyuan/kernel (Go): before 0.0.0-20260512140701-d7b77d945e0d

## Every score

- GitHub_M: CVSS:4.0 7.2 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gmmv-4cc5-wr9r> (exploit, advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45371> (advisory)
- <https://github.com/siyuan-note/siyuan> (package)

## Sources

- CVE List: [CVE-2026-45371](https://www.cve.org/CVERecord?id=CVE-2026-45371), CVE Terms of Use, modified 2026-05-15
- GitHub Advisory Database: [GHSA-gmmv-4cc5-wr9r](https://github.com/advisories/GHSA-gmmv-4cc5-wr9r), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5402](https://pkg.go.dev/vuln/GO-2026-5402), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-45371](https://nvd.nist.gov/vuln/detail/CVE-2026-45371), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-45371 · Whole record: https://cve.day/CVE-2026-45371.json · Rebuilt by cve.day 2026-11-25T22:59:21.752Z
