SiYuan before v3.7.3 SQL Injection via searchDocs
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| siyuan-note | siyuan | before 3.7.3 | 3.7.3 | Patch available | CNA |
| — | github.com/siyuan-note/siyuan/kernel (Go) | before 0.0.0-20260721043339-eef10568384e | 0.0.0-20260721043339-eef10568384e | Patch available | GHSA-33jq-p8c2-q3q4 |
- siyuan Vendorsiyuan-note Affected before 3.7.3 Fixed in 3.7.3 Patch available CNA
- github.com/siyuan-note/siyuan/kernel (Go) Vendor— Affected before 0.0.0-20260721043339-eef10568384e Fixed in 0.0.0-20260721043339-eef10568384e Patch available GHSA-33jq-p8c2-q3q4
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:* | — | — | siyuan-note |
- cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:* Versions — — ·siyuan-note
Remediation
- Fix · CNA siyuan (siyuan-note) Fixed in 3.7.3
- Fix · GHSA-33jq-p8c2-q3q4 github.com/siyuan-note/siyuan/kernel (Go) Fixed in 0.0.0-20260721043339-eef10568384e Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
siyuan-note siyuan 3.7.3
8 records Highest priority Priority HIGH 6 HIGH, 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-48491 SiYuan before v3.7.3 SQL Injection via searchEmbedBlockPriority HIGH 82
- TI-2026-48490 SiYuan before v3.7.3 SQL Injection via fullTextSearchAssetContentPriority HIGH 82
- TI-2026-48327 SiYuan before v3.7.3 Information Disclosure via getHeading*TransactionPriority HIGH 79
Timeline
- 2026-10-02 Threatist record created from CVE-2026-69085
- 2026-10-03 Alias added: GHSA-33jq-p8c2-q3q4
References
More siyuan-note vulnerabilities
- TI-2026-48491 SiYuan before v3.7.3 SQL Injection via searchEmbedBlock CVSS 4.0CRITICAL 9.9
- TI-2026-48490 SiYuan before v3.7.3 SQL Injection via fullTextSearchAssetContent CVSS 4.0CRITICAL 9.9
- TI-2026-47010 SiYuan before v3.7.2 Unauthenticated Administrator Takeover via MCP CVSS 4.0CRITICAL 10.0
- TI-2026-26050 SiYuan has directory traversal within its publishing service CVSS 3.1CRITICAL 9.8
- TI-2026-25256 SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API CVSS 3.1CRITICAL 9.8
- TI-2024-35827 A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-69085 · CVE Program
- CVE-2026-69085 · NVD
- FIRST EPSS
- GHSA-33jq-p8c2-q3q4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences