{"cve":"CVE-2026-45147","nvd":{"published":"2026-05-14T19:16:38.630","modified":"2026-06-17T10:51:42.250","status":"Deferred","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3},"cwes":["CWE-285","CWE-862"],"references":["https://github.com/siyuan-note/siyuan/security/advisories/GHSA-6r88-8v7q-q4p2","https://github.com/siyuan-note/siyuan/security/advisories/GHSA-6r88-8v7q-q4p2"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:35:16.954578616+00:00"},"epss":{"cve":"CVE-2026-45147","score":0.00152,"percentile":0.0433,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-6r88-8v7q-q4p2","url":"https://osv.dev/vulnerability/GHSA-6r88-8v7q-q4p2","summary":"SiYuan: Broken access control in `/api/tag/getTag` — Reader role can mutate `Conf.Tag.Sort` and persist to disk","modified":"2026-06-25T19:56:14.783160695Z","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-5188","url":"https://osv.dev/vulnerability/GO-2026-5188","summary":"SiYuan: Broken access control in `/api/tag/getTag` — Reader role can mutate `Conf.Tag.Sort` and persist to disk in github.com/siyuan-note/siyuan/kernel","modified":"2026-06-25T19:45:12.721608721Z","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."]}