Go
CVE-2026-116170
SiYuan before v3.8.7 SQL Injection via History Search op and query
- Severity
- Medium 6.9
- Published
- 25 Oct 2026
- Last changed
- 29 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 3.8.7
- Exploit chance
- 0.4% in the next 30 daysHigher than 37% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- SQL injection (CWE-89)
- Attack
- Over the network · Needs an administrator account · No user action needed
- Attacker can
- Read data
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N- Sources
- CVE Program
Description
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.
Affected software
| Software | Affected versions |
|---|---|
github.com/siyuan-note/siyuan/kernelGo · osv:Go:github.com/siyuan-note/siyuan/kernel |
|
About github.com/siyuan-note/siyuan/kernel
Vulnerabilities in github.com/siyuan-note/siyuan/kernel
- In our list
- 10
- Published in the last 12 months
- 10
- Critical, last 12 months
- 1
- High, last 12 months
- 2
- Known exploited
- 0
- CVE-2026-134245SiYuan 3.8.0 before 3.8.10 Incorrect Authorization via /assets Cross-document Asset CollisionHigh 8.7 21 Nov 2026
- CVE-2026-134247SiYuan 3.8.0 before 3.8.10 Incorrect Authorization Exposes Asset Text via getAssetContentByPathHigh 8.7 21 Nov 2026
- CVE-2026-126265SiYuan 2.1.0 before 3.8.9 CAPTCHA Bypass via Stale Login CookieCritical 9.1 13 Nov 2026
- CVE-2026-126776SiYuan 3.7.0 before 3.8.10 Path Traversal File Write via MCP web_fetchMedium 6.0 11 Nov 2026
- CVE-2026-118680SiYuan 3.8.7 through 3.8.8 Path Traversal via GLOBALROOT AliasMedium 5.9 28 Oct 2026
- CVE-2026-60083SiYuan: MCP file tool's blocklist is incomplete relative to the HTTP file API it claims to align with, exposing publish-mode passwords and other sensitive workspace filesMedium 4.9 27 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-116170