CVE-2026-87807 siyuan before v3.8.2 SQL Injection via fullTextSearchBlock
Authenticated attackers can inject SQL into the fullTextSearchBlock endpoint to read all document content and bypass publish-access controls.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-87807?
CVE-2026-87807 is a high-severity SQL injection vulnerability in siyuan-note siyuan, published on 9 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
siyuan versions before v3.8.2 contain an authenticated SQL injection vulnerability in the fullTextSearchBlock endpoint's method=1 query parameter. Attackers can inject UNION SELECT statements to read the entire blocks table, bypassing publish-access controls and exposing all document content and sensitive attributes.
Weakness: CWE-89
Which versions are affected by CVE-2026-87807?
How do I fix CVE-2026-87807?
No fix has been published for CVE-2026-87807 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-87807 being exploited?
There is no known exploitation of CVE-2026-87807 in the wild and no public exploit code.
Sources
Also known as GHSA-336w-67gx-gx2h, GHSA-9r2h-ghj5-r7hq.