What’s Vulnerable › Vulnerabilities
CVE-2026-69085: SiYuan before v3.7.3 SQL Injection via searchDocs
- Severity: critical (CVSS 10.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-08-03 · updated 2026-10-23
- Weakness: CWE-89
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.
Affected products
- siyuan-note siyuan: before 3.7.3 — fixed in 3.7.3
How to fix
Upgrade to a fixed version: siyuan-note siyuan 3.7.3. Check the vendor advisory for mitigations.
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
Get alerted when CVE-2026-69085 or the next vulnerability affects your stack