{"id":"CVE-2026-69084","published":"2026-08-03T13:20:39Z","modified":"2026-08-14T16:51:12Z","title":"SiYuan before v3.7.3 SQL Injection via searchEmbedBlock","vendor":"siyuan-note","product":"siyuan","tier":"tail","description":{"text":"SiYuan versions <= v3.7.2 expose the /api/search/searchEmbedBlock endpoint, which passes a client-supplied SQL statement verbatim to the main read-write siyuan.db handle with no single-statement, read-only, or admin restrictions. The endpoint is gated only by CheckAuth, making it reachable by the publish RoleReader token and by anonymous users when publish authentication is disabled. Because the underlying driver executes stacked statements, an attacker can read and modify content across all opened cleartext notebooks (encrypted per-box notebooks are excluded). Fixed in v3.7.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01573,"percentile":0.76059,"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-vh22-h7hf-www7","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/siyuan-before-sql-injection-via-searchembedblock","tags":["third-party-advisory"]}],"priority":{"score":27.2,"factors":[{"name":"EPSS percentile","points":15.21},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":7.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-08-09","earliestUrl":"https://github.com/Boreas37/CVE-2026-69084-PoC","repos":[{"name":"Boreas37/CVE-2026-69084-PoC","url":"https://github.com/Boreas37/CVE-2026-69084-PoC","stars":1,"created":"2026-08-09"}]},"nuclei":[{"id":"CVE-2026-69084","name":"SiYuan - SQL Execution","severity":"critical","path":"http/cves/2026/CVE-2026-69084.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-69084.yaml"}],"first":{"date":"2026-08-09","source":"PoC-in-GitHub","url":"https://github.com/Boreas37/CVE-2026-69084-PoC"},"provenance":"source"},"vendorSlug":"siyuan-note","affectedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["< 3.7.3"]}],"fixedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["3.7.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-08-03T20:03:12.460961Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/siyuan-note/siyuan/kernel","vulnerableRanges":["<0.0.0-20260721002947-23a17d44b5f3"],"patched":["0.0.0-20260721002947-23a17d44b5f3"],"from":["GHSA-vh22-h7hf-www7","GO-2026-6377"],"provenance":"source"}],"summary":{"text":"SiYuan versions up to and including v3.7.2 contain an SQL injection flaw in the /api/search/searchEmbedBlock endpoint, which passes a client-supplied SQL statement directly to the main read-write siyuan.db database handle without restriction. An attacker can read and modify content across all opened cleartext notebooks by sending a crafted request over the network, requiring no user interaction, and needing either no authentication (when publish authentication is disabled) or the low-privilege publish reader token, with stacked statements executed by the underlying driver.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:37:52Z"},"euvd":{"id":"EUVD-2026-52277","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-siyuan-note-siyuan-cve-2026-23645","parents":[{"from":"CVE-2026-59834","to":"CVE-2026-69084","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["kernel/api/search.go","kernel/model/search.go"],"commits":["https://github.com/siyuan-note/siyuan/commit/57bcad4b331836880bfe6be25d4180bdcf10db0d","https://github.com/siyuan-note/siyuan/commit/d0f0fe146fb07d594fcadc4f48d4f7c30ac01d1e","https://github.com/siyuan-note/siyuan/commit/0015cbafbf685363b217bbc46283a3c0f51c79fa","https://github.com/siyuan-note/siyuan/commit/23a17d44b5f3da59c85e7fbee11236e6c12386b9"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2026-69084","to":"CVE-2026-69083","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/siyuan-note/siyuan/kernel","fromFixed":"0.0.0-20260721002947-23a17d44b5f3","toFixed":"0.0.0-20260721004815-cf42dd5680c8","daysApart":0},{"kind":"same-code","provenance":"machine","files":["kernel/api/search.go","kernel/sql/stmt_validate.go"],"commits":["https://github.com/siyuan-note/siyuan/commit/cf42dd5680c8f2d50cebfada5d639c8d59faf50e","https://github.com/siyuan-note/siyuan/commit/0015cbafbf685363b217bbc46283a3c0f51c79fa","https://github.com/siyuan-note/siyuan/commit/23a17d44b5f3da59c85e7fbee11236e6c12386b9"],"basis":"shared function","functions":["CheckSingleStatement"]}]},{"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-69084","to":"CVE-2026-72789","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["kernel/api/search.go"],"commits":["https://github.com/siyuan-note/siyuan/commit/0015cbafbf685363b217bbc46283a3c0f51c79fa","https://github.com/siyuan-note/siyuan/commit/23a17d44b5f3da59c85e7fbee11236e6c12386b9","https://github.com/siyuan-note/siyuan/commit/a25c2dd06aae13d1de70cc61cbf98169689c9d86"],"basis":"shared function","functions":["FilterContentByPublishAccess"]}]}],"packageHistory":[{"cve":"CVE-2026-59832","published":"2026-07-09","fixed":"0.0.0-20260704035520-68cc0f537dfa","kev":false},{"cve":"CVE-2026-66394","published":"2026-07-27","fixed":"0.0.0-20260714095344-f08dee71ba8e","kev":false},{"cve":"CVE-2026-69086","published":"2026-08-03","fixed":"0.0.0-20260720151813-0f5a0e7c67b0","kev":false,"link":{"from":"CVE-2026-69086","to":"CVE-2026-69084","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/siyuan-note/siyuan/kernel","fromFixed":"0.0.0-20260720151813-0f5a0e7c67b0","toFixed":"0.0.0-20260721002947-23a17d44b5f3","daysApart":0}]}},{"cve":"CVE-2026-69084","published":"2026-08-03","fixed":"0.0.0-20260721002947-23a17d44b5f3","kev":false},{"cve":"CVE-2026-69083","published":"2026-08-03","fixed":"0.0.0-20260721004815-cf42dd5680c8","kev":false},{"cve":"CVE-2026-68587","published":"2026-08-03","fixed":"0.0.0-20260721013353-69db783b782a","kev":false},{"cve":"CVE-2026-68586","published":"2026-08-03","fixed":"0.0.0-20260721014413-f45749a7ef6e","kev":false}],"package":"Go:github.com/siyuan-note/siyuan/kernel"}}