CVE-2026-116170Published Oct 25, 2026 · Oct 25Updated Oct 31
SiYuan SQL injection in history search endpoints
siyuan-note siyuan
siyuan-note siyuan
| Product | Affected | Fixed in |
|---|---|---|
| siyuan-note siyuan |
|
|
SiYuan before v3.8.7 contains an sql injection vulnerability that allows admin-token holders to read history.db by injecting unescaped op and type=3 query values. Attackers can send crafted UNION SELECT payloads to searchHistory or getHistoryItems endpoints to exfiltrate deleted document content, titles, and paths.
From the CVE record · VulnCheck
SiYuan before v3.8.7 has an SQL injection vulnerability in the searchHistory and getHistoryItems endpoints. An attacker with an admin token can inject query values to read history.db and extract deleted document content, titles, and paths.
Anyone running SiYuan before v3.8.7 should check their installation.