CVE-2026-116170 SiYuan before v3.8.7 SQL Injection via History Search op and query

Medium 6.9 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-116170?

CVE-2026-116170 is a medium-severity vulnerability in siyuan-note siyuan, published on 25 Oct 2026.

Official 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.

Weakness: CWE-89

Which versions are affected by CVE-2026-116170?

How do I fix CVE-2026-116170?

No fix has been published for CVE-2026-116170 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-116170 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-116170 exists.

Sources

Also known as GHSA-4hjx-84f6-gr7c, GHSA-hf8g-c9wm-2xp9.

Is CVE-2026-116170 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free