{"cve":"CVE-2026-45371","nvd":{"published":"2026-05-14T19:16:38.897","modified":"2026-06-17T10:51:58.640","status":"Deferred","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.","cvss_v4":{"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","score":7.2},"cvss_v3":null,"cwes":["CWE-285","CWE-862"],"references":["https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gmmv-4cc5-wr9r","https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gmmv-4cc5-wr9r"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:35:16.954578616+00:00"},"epss":{"cve":"CVE-2026-45371","score":0.00207,"percentile":0.10828,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-gmmv-4cc5-wr9r","url":"https://osv.dev/vulnerability/GHSA-gmmv-4cc5-wr9r","summary":"SiYuan publish-mode Reader can mutate Conf and SQL index via 8 ungated APIs","modified":"2026-06-25T23:11:04.181230586Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["<0.0.0-20260512140701-d7b77d945e0d"],"fixed":["0.0.0-20260512140701-d7b77d945e0d"]}]},{"id":"GO-2026-5402","url":"https://osv.dev/vulnerability/GO-2026-5402","summary":"SiYuan publish-mode Reader can mutate Conf and SQL index via 8 ungated APIs in github.com/siyuan-note/siyuan/kernel","modified":"2026-06-25T23:00:54.186816738Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["<0.0.0-20260512140701-d7b77d945e0d"],"fixed":["0.0.0-20260512140701-d7b77d945e0d"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}