{"id":"CVE-2026-45371","published":"2026-05-14T18:14:51Z","modified":"2026-05-15T18:05:19Z","title":"SiYuan: SiYuan publish-mode Reader can mutate Conf and SQL index via 8 ungated APIs","vendor":"siyuan-note","product":"siyuan","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00207,"percentile":0.11002,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"},{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gmmv-4cc5-wr9r","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":2.2},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"siyuan-note","affectedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["< 3.7.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-15T16:29:13.878242Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/siyuan-note/siyuan/kernel","vulnerableRanges":["<0.0.0-20260512140701-d7b77d945e0d"],"patched":["0.0.0-20260512140701-d7b77d945e0d"],"from":["GHSA-gmmv-4cc5-wr9r","GO-2026-5402"],"provenance":"source"}],"summary":{"text":"SiYuan's publish-mode Reader, prior to version 3.7.0, exposes eight API endpoints (including those under /api/graph, /api/sync, /api/storage and /api/search) that are gated only by an authentication check and omit the admin-role and read-only checks, so they can write server-side state such as conf.json and the SQL index. An attacker with network access and a valid low-privilege token, such as the anonymous publish-visitor reader role or an editor in a read-only workspace, can call these endpoints to modify configuration and index data without any user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:51Z"},"euvd":{"id":"EUVD-2026-30357","exploited":false,"provenance":"source"}}