CVE-2026-116170

published 25 Oct 2026 · updated 29 Oct 2026

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

4.9MediumCVSS 4.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.8.7.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
siyuan-note<3.8.73.8.7

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-116170 severity on Zeptric[![CVE-2026-116170](https://zeptric.io/badge/cve/CVE-2026-116170.svg)](https://zeptric.io/cve/CVE-2026-116170)