Auth bypass in B3log Siyuan

CVE-2026-32704

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.

EPSS: 0.002 (15.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-32704?
CVE-2026-32704 is a medium-severity vulnerability in B3log Siyuan, classified under Improper Authorization. CVSS score: 6.5/10. Published 2026-03-16.
How severe is CVE-2026-32704?
Medium severity. CVSS v3 base score is 6.5 out of 10.