CVE-2026-69083
nicheUnauthenticated SQL Execution and REGEXP Injection in SiYuan Publish Search API
CVE-2026-69083 is a pair of SQL injection flaws in SiYuan's /api/search/fullTextSearchAssetContent endpoint, which is reachable on the publish (shared-notes) surface by any reader-role token, or anonymously when Publish.Auth.Enable is false. The 'method 2' code path passes a fully client-controlled SQL statement straight to a read-write SQLite asset-content database with no single-statement or read-only guard, and unlike the sibling fullTextSearchBlock endpoint it lacks the admin-only restriction that normally gates raw SQL. The 'method 3' path builds a REGEXP clause by concatenating the client expression without escaping single quotes, letting an attacker break out of the SQL literal, even though the equivalent block-search builder does escape. An unauthenticated attacker can therefore run arbitrary SQL against the cross-notebook asset-content database (CVSS 10, C:H/I:H), enabling data exfiltration and modification. No public proof-of-concept, KEV listing, or known in-the-wild exploitation is reported, and EPSS is 0.4%.
What to do: Upgrade SiYuan to the vendor release addressing CVE-2026-69083 (see the vendor advisory for the fixed version, which is not stated in the available data). Until patched, enable authentication on publish mode (Publish.Auth.Enable=true so anonymous access is off), avoid exposing /api/search/fullTextSearchAssetContent to untrusted networks, and audit internet-facing SiYuan servers for use of this endpoint. Note the read-write database handle means successful SQL injection could both read and modify asset-content data.
| SiYuan (siyuan-note project, Go ecosystem) SiYuan note-taking/knowledge-management application (publish-mode server, fullTextSearchAssetContent endpoint) | — |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
SiYuan versions before v3.7.3 contain SQL injection vulnerabilities in the fullTextSearchAssetContent endpoint reachable by unauthenticated users and publish RoleReader tokens. Attackers can execute arbitrary SQL on the read-write asset-content database via unescaped method parameters and REGEXP clauses to read, modify, or delete cross-notebook data.
- Ecosystems
- go
- Weakness
- CWE-89
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- GHSA
- GHSA-fph3-ghq9-vw66 (critical)
In the news0 stories
No ingested article mentions this CVE yet.