CVE-2026-32704 SiYuan renderSprig: missing admin check allows any user to read full workspace DB

Medium 6.5 Published Updated

Any authenticated user can execute arbitrary SQL queries to read the entire workspace database due to a missing admin check in the template rendering API.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-32704?

CVE-2026-32704 is a medium-severity missing authorization vulnerability in B3log Siyuan, published on 13 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

SiYuan is a personal knowledge management system. Prior to 3.6.1, POST /api/template/renderSprig lacks model.CheckAdminRole, allowing any authenticated user to execute arbitrary SQL queries against the SiYuan workspace database and exfiltrate all note content, metadata, and custom attributes. This vulnerability is fixed in 3.6.1.

Weakness: CWE-732, CWE-285

Which versions are affected by CVE-2026-32704?

3 open source packages ship an affected version, including github.com/siyuan-note/siyuan/kernel. It affects 1 product.

PackageAffectedFixed in
github.com/siyuan-note/siyuan/kernel GoAll versionsNone
github.com/siyuan-note/siyuan/kernel GoAll versions3.6.1
github.com/siyuan-note/siyuan/kernel GoAll versions3.6.1

Products include B3log Siyuan.

How do I fix CVE-2026-32704?

Upgrade github.com/siyuan-note/siyuan/kernel to 3.6.1 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-32704 being exploited?

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

All B3log Siyuan vulnerabilities

Sources

Also known as GHSA-4j3x-hhg2-fm2x, GO-2026-4700.

Is CVE-2026-32704 in your software?

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

Check your SBOMs for free