All vulnerabilities
CVE-2026-116170GHSA-4hjx-84f6-gr7c

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

siyuan-note siyuan
CVSS
6.9Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)No scoreNo FIRST EPSS score in this snapshot yet
Fixed in3.8.7Fixed versionCVE List
Published25 Oct 2026Updated 25 Oct 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Reports 1

1 outlet mention it. Reports are not confirmation; each links to its source.

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.

Text from CVE List

Affected versions 2

  • siyuanaffected: all versions before 3.8.7CVE List
  • siyuanunaffected: 3.8.7CVE List

References 2