{"id":"CVE-2026-69085","published":"2026-08-03T13:20:40Z","modified":"2026-08-14T16:51:12Z","title":"SiYuan before v3.7.3 SQL Injection via searchDocs","vendor":"siyuan-note","product":"siyuan","tier":"tail","description":{"text":"SiYuan before v3.7.3 contains a SQL injection vulnerability in the /api/filetree/searchDocs endpoint, where the caller-supplied keyword parameter is concatenated directly into SQL statements with no escaping or parameter binding. The endpoint is reachable by a publish RoleReader token, or unauthenticated when publish mode is enabled with Publish.Auth.Enable set to false. Because the statement executes on a read-write SQLite handle via a driver that supports stacked (semicolon-separated) statements, an attacker can read and modify database content across all cleartext (non-encrypted) notebooks on the instance.","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.01488,"percentile":0.7431,"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-33jq-p8c2-q3q4","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/siyuan-before-sql-injection-via-searchdocs","tags":["third-party-advisory"]}],"priority":{"score":26.9,"factors":[{"name":"EPSS percentile","points":14.86},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":7.0}]},"exploitSources":{"nuclei":[{"id":"CVE-2026-69085","name":"SiYuan <=3.7.2 - SQL Injection","severity":"critical","path":"http/cves/2026/CVE-2026-69085.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-69085.yaml"}],"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-03T14:15:16.173181Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/siyuan-note/siyuan/kernel","vulnerableRanges":["<0.0.0-20260721043339-eef10568384e"],"patched":["0.0.0-20260721043339-eef10568384e"],"from":["GHSA-33jq-p8c2-q3q4","GO-2026-6621"],"provenance":"source"}],"summary":{"text":"A SQL injection flaw in SiYuan before v3.7.3 affects the /api/filetree/searchDocs endpoint, where the keyword parameter is concatenated directly into SQL statements without escaping or parameter binding. An attacker can read and modify database content across all cleartext (non-encrypted) notebooks on the instance, and can do so over the network without authentication when publish mode is enabled with Publish.Auth.Enable set to false, or with a publish RoleReader token otherwise.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:38:27Z"},"euvd":{"id":"EUVD-2026-52278","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-68586","published":"2026-08-03","fixed":"0.0.0-20260721014413-f45749a7ef6e","kev":false},{"cve":"CVE-2026-68585","published":"2026-08-03","fixed":"0.0.0-20260721014951-ffde3b21eca4","kev":false},{"cve":"CVE-2026-68584","published":"2026-08-03","fixed":"0.0.0-20260721020826-2d069dce84a2","kev":false,"link":{"from":"CVE-2026-68584","to":"CVE-2026-69085","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-20260721020826-2d069dce84a2","toFixed":"0.0.0-20260721043339-eef10568384e","daysApart":0}]}},{"cve":"CVE-2026-69085","published":"2026-08-03","fixed":"0.0.0-20260721043339-eef10568384e","kev":false},{"cve":"CVE-2026-72812","published":"2026-08-14","fixed":"0.0.0-20260723002528-7d273c271ce1","kev":false,"link":{"from":"CVE-2026-69085","to":"CVE-2026-72812","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/siyuan-note/siyuan/kernel","fromFixed":"0.0.0-20260721043339-eef10568384e","toFixed":"0.0.0-20260723002528-7d273c271ce1","daysApart":11}]}},{"cve":"CVE-2026-72811","published":"2026-08-14","fixed":"0.0.0-20260723004839-1a5b3431d5ab","kev":false},{"cve":"CVE-2026-72810","published":"2026-08-14","fixed":"0.0.0-20260723013612-ba948639d7f6","kev":false}],"package":"Go:github.com/siyuan-note/siyuan/kernel"}}