CVE-2026-69085
SiYuan: Unauthenticated SQL injection in searchDocs via unescaped keyword (publish mode): cross-notebook read/write with statement stacking
The /api/filetree/searchDocs endpoint concatenates the caller-supplied search keyword directly into a SQL statement with no escaping and no parameter binding. The endpoint is gated by CheckAuth only reachable by the publish RoleReader token, and by the anonymous account when Publish.Auth.Enable is false.
- No known exploitation
- Severity
- Critical, CVSS 10.0 (v3.1)
- EPSS
- 1.49% chance of exploitation in 30 days (EPSS, as of Oct 23, 2026)
- Affected packages
- github.com/siyuan-note/siyuan/kernel (go) < 0.0.0-20260721043339-eef10568384e, fixed in 0.0.0-20260721043339-eef10568384e · GHSA-33jq-p8c2-q3q4