Vulnerability · Published Aug 3, 2026 · Assigned by VulnCheck
CVE-2026-69085SiYuan before v3.7.3 SQL Injection via searchDocs
Critical 10.0
In plain English
A critical-severity SQL injection in siyuan from siyuan-note. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/siyuan-note/siyuan/kernel | 0.0.0-20260721043339-eef10568384e | GHSA-33jq-p8c2-q3q4 |
| Go | github.com/siyuan-note/siyuan/kernel | 0.0.0-20260721043339-eef10568384e | GO-2026-6621 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| siyuan-note | siyuan | 0 – before 3.7.3 |
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
References
- GitHub Security Advisory (GHSA-33jq-p8c2-q3q4) vendor-advisory
- VulnCheck Advisory: SiYuan before v3.7.3 SQL Injection via searchDocs third-party-advisory