{"cve":"CVE-2026-69085","nvd":{"published":"2026-08-03T14:16:28.820","modified":"2026-10-23T21:10:00.157","status":"Deferred","description":"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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","score":9.9},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","score":10.0},"cwes":["CWE-89"],"references":["https://github.com/siyuan-note/siyuan/security/advisories/GHSA-33jq-p8c2-q3q4","https://www.vulncheck.com/advisories/siyuan-before-sql-injection-via-searchdocs","https://github.com/siyuan-note/siyuan/security/advisories/GHSA-33jq-p8c2-q3q4"],"products":[],"source":"nvd","synced_at":"2026-10-24T16:53:34.184483516+00:00"},"epss":{"cve":"CVE-2026-69085","score":0.0139,"percentile":0.72124,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-33jq-p8c2-q3q4","url":"https://osv.dev/vulnerability/GHSA-33jq-p8c2-q3q4","summary":"SiYuan: Unauthenticated SQL injection in searchDocs via unescaped keyword (publish mode): cross-notebook read/write with statement stacking","modified":"2026-10-07T17:55:40.796181279Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["<0.0.0-20260721043339-eef10568384e"],"fixed":["0.0.0-20260721043339-eef10568384e"]}]},{"id":"GO-2026-6621","url":"https://osv.dev/vulnerability/GO-2026-6621","summary":"SiYuan: Unauthenticated SQL injection in searchDocs via unescaped keyword (publish mode): cross-notebook read/write with statement stacking in github.com/siyuan-note/siyuan/kernel","modified":"2026-10-07T17:45:14.315085106Z","packages":[{"ecosystem":"Go","name":"github.com/siyuan-note/siyuan/kernel","purl":"pkg:golang/github.com/siyuan-note/siyuan/kernel","ranges":["<0.0.0-20260721043339-eef10568384e"],"fixed":["0.0.0-20260721043339-eef10568384e"]}]}],"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."]}