Summary
CVE-2026-69085 is a critical SQL injection vulnerability in SiYuan Note, an open-source personal knowledge-management application. The flaw resides in the /api/filetree/searchDocs endpoint, where a caller-supplied keyword parameter is concatenated directly into SQL statements without escaping or parameter binding. It affects all SiYuan versions before v3.7.3 and is rated critical.
Technical details
- Root cause: The
keywordparameter sent to/api/filetree/searchDocsis concatenated directly into SQL statements with no escaping or parameter binding (CWE-89). - Trigger conditions: The query runs against a read-write SQLite database handle that supports stacked statements. Unauthenticated exploitation is possible when publish mode is enabled with authentication disabled.
- Attack vector: Network — a remote attacker sends a crafted request to the vulnerable endpoint.
- Impact: Injection of arbitrary SQL, enabling read and modification of database contents.
Affected software
- SiYuan (siyuan-note/siyuan) — all versions before v3.7.3.
Severity
- CVSS v3.1 base score: 10.0 (Critical) — vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N. - CVSS v4.0 base score: 9.9 (Critical) — 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.
Mitigation and recommended actions
- Immediate: Upgrade to SiYuan v3.7.3 or later, which fixes the vulnerability.
- If no patch can be applied: Do not expose SiYuan to untrusted networks. Avoid running publish mode with authentication disabled, and restrict network access to the service until the upgrade is completed.
How IONIX identifies potentially affected assets
IONIX matches the following signals against data already collected when it crawled the asset; identifying the technology sends no request beyond that crawl.
- Page title:
Access Authorization - SiYuan,思源笔记 - Raw response body:
exitSiYuan,b3log.org/siyuan

