{"cve":"CVE-2026-32704","nvd":{"published":"2026-03-16T14:19:41.233","modified":"2026-06-17T10:36:14.357","status":"Analyzed","description":"SiYuan is a personal knowledge management system. Prior to 3.6.1, POST /api/template/renderSprig lacks model.CheckAdminRole, allowing any authenticated user to execute arbitrary SQL queries against the SiYuan workspace database and exfiltrate all note content, metadata, and custom attributes. This vulnerability is fixed in 3.6.1.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-285","CWE-732"],"references":["https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4j3x-hhg2-fm2x","https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4j3x-hhg2-fm2x"],"products":["b3log:siyuan"],"source":"nvd","synced_at":"2026-10-19T22:26:19.218427112+00:00"},"epss":{"cve":"CVE-2026-32704","score":0.00261,"percentile":0.17893,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-4j3x-hhg2-fm2x","url":"https://osv.dev/vulnerability/GHSA-4j3x-hhg2-fm2x","summary":"SiYuan's renderSprig has a missing admin check that allows any user to read full workspace DB","modified":"2026-03-30T13:56:39Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["<3.6.1"],"fixed":["3.6.1"]}]},{"id":"GO-2026-4700","url":"https://osv.dev/vulnerability/GO-2026-4700","summary":"SiYuan's renderSprig has a missing admin check that allows any user to read full workspace DB in github.com/siyuan-note/siyuan/kernel","modified":"2026-03-26T21:03:36.058720Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["all versions"],"fixed":[]}]}],"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."]}