{"id":"CVE-2026-101091","published":"2026-09-28T22:00:17Z","modified":"2026-09-29T18:01:40Z","title":"SiYuan before v3.8.4 SQL Injection via Block Query Embed","vendor":"siyuan-note","product":"siyuan","tier":"tail","description":{"text":"SiYuan versions before v3.8.4 fail to properly validate SQL statements in block query embed blocks executed against siyuan.db. Attackers can craft malicious .sy documents with non-read-only SQL statements that execute automatically during background indexing, rendering, or export operations without authentication.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00315,"percentile":0.24884,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-67p9-hm94-xwf3","tags":["vendor-advisory"]},{"url":"https://github.com/siyuan-note/siyuan/commit/e8ace0c89182c7ee1a1298ff2a849bb6a83dfdec","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/siyuan-before-3.8.4-sql-injection-via-block-query-embed","tags":["third-party-advisory"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":4.98},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"siyuan-note","affectedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["< 3.8.4"]}],"fixedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["3.8.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-29T18:01:34.331649Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-88559","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-siyuan-note-siyuan-cve-2026-23645","parents":[{"from":"CVE-2026-59834","to":"CVE-2026-101091","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["kernel/sql/block_query.go"],"commits":["https://github.com/siyuan-note/siyuan/commit/e8ace0c89182c7ee1a1298ff2a849bb6a83dfdec","https://github.com/siyuan-note/siyuan/commit/57bcad4b331836880bfe6be25d4180bdcf10db0d","https://github.com/siyuan-note/siyuan/commit/d0f0fe146fb07d594fcadc4f48d4f7c30ac01d1e"],"basis":"rarely changed file"}]},{"from":"CVE-2026-69083","to":"CVE-2026-101091","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["kernel/sql/stmt_validate.go"],"commits":["https://github.com/siyuan-note/siyuan/commit/e8ace0c89182c7ee1a1298ff2a849bb6a83dfdec","https://github.com/siyuan-note/siyuan/commit/cf42dd5680c8f2d50cebfada5d639c8d59faf50e"],"basis":"rarely changed file"}]},{"from":"CVE-2026-69084","to":"CVE-2026-101091","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["kernel/sql/stmt_validate.go"],"commits":["https://github.com/siyuan-note/siyuan/commit/e8ace0c89182c7ee1a1298ff2a849bb6a83dfdec","https://github.com/siyuan-note/siyuan/commit/0015cbafbf685363b217bbc46283a3c0f51c79fa","https://github.com/siyuan-note/siyuan/commit/23a17d44b5f3da59c85e7fbee11236e6c12386b9"],"basis":"rarely changed file"}]},{"from":"CVE-2026-72812","to":"CVE-2026-101091","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["kernel/sql/encrypted_query.go"],"commits":["https://github.com/siyuan-note/siyuan/commit/e8ace0c89182c7ee1a1298ff2a849bb6a83dfdec","https://github.com/siyuan-note/siyuan/commit/7d273c271ce193b9d3ee5751b596b8093ba84ada"],"basis":"rarely changed file"}]}]}}