All vulnerabilities

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.

From the CVE Program.

Affected software

SoftwareAffected versions
github.com/siyuan-note/siyuan/kernelGo · osv:Go:github.com/siyuan-note/siyuan/kernel
  • Every version before 3.8.7

About github.com/siyuan-note/siyuan/kernel

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-116170