CVEssiyuan-noteCVE-2026-116170Published Oct 25, 13:20 · Updated Oct 29, 16:13 UTC
4.9
MediumCVSS 3.1 · from VulnCheck
CVE-2026-116170

SiYuan before v3.8.7 SQL Injection via History Search op and query

siyuan · SQL injection · CWE-89
Affectedsiyuan
FixUpdate to 3.8.7 or newer
PublishedOct 25, 13:20 · VulnCheck
ScoredOct 25 · 4.9 · VulnCheck
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:07 UTC

What we know

No known exploitation. CISA KEV, checked 22:07 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker needs network access and an account. CVSS: network, high privileges.
A successful attack can read data. CVSS impact.

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 VulnCheck

Affected and fixed versions

ProductAffectedFixed insiyuanbefore 3.8.73.8.7siyuanNot affected3.8.7

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

GitHub Security Advisory (GHSA-4hjx-84f6-gr7c) · github.comvendor advisoryVulnCheck Advisory: SiYuan before v3.8.7 SQL Injection via History Search op and query · vulncheck.comthird party advisory

Other CVEs in siyuan

All 215 →
4.4SiYuan 3.8.7 through 3.8.8 Path Traversal via GLOBALROOT Alias · CVE-2026-118680Oct 284.4SiYuan 3.5.4 before 3.8.7 Sensitive Path Bypass via Windows Extended-Length Prefix · CVE-2026-116171Oct 255.4SiYuan 2.10.0 before 3.8.7 Stored XSS via KaTeX \href in Math Blocks · CVE-2026-116169Oct 25