Critical severity10.0OSV Advisory· Published Aug 3, 2026· Updated Aug 26, 2026
CVE-2026-69085
CVE-2026-69085
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
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/siyuan-note/siyuan/kernelGo | < 0.0.0-20260721043339-eef10568384e | 0.0.0-20260721043339-eef10568384e |
Affected products
3v3.7.3-beta.2, v3.7.3-beta.1, v3.7.0-rc.2, …+ 1 more
- (no CPE)range: v3.7.3-beta.2, v3.7.3-beta.1, v3.7.0-rc.2, …
- (no CPE)range: <3.7.3
- ghsa-coordsRange: < 0.0.0-20260721043339-eef10568384e
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-33jq-p8c2-q3q4ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-69085ghsaADVISORY
- github.com/siyuan-note/siyuan/releases/tag/v3.7.3ghsaWEB
- github.com/siyuan-note/siyuan/security/advisories/GHSA-33jq-p8c2-q3q4nvdWEB
- www.vulncheck.com/advisories/siyuan-before-sql-injection-via-searchdocsnvdWEB
News mentions
1- Siyuan Note: Eight Critical and High-Severity Vulnerabilities Disclosed TogetherVypr Intelligence · Aug 3, 2026