Skip to content

CVE-2026-29073 SiYuan: Direct SQL Query API accessible to Reader-level users enables unauthorized database access

MediumCVSS 5.7 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

SiYuan is a personal knowledge management system. Prior to version 3.6.0, the /api/query/sql lets a user run sql directly, but it only checks basic auth, not admin rights, any logged-in user, even readers, can run any sql query on the database. This issue has been patched in version 3.6.0.

Upgrade path

3 packages: 1 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
siyuan-note github.com/siyuan-note/siyuan/kernel(Go) <= 0.0.0-20260113130602-4ba64580c29c; All versions after 0.0.0-20260113130602-4ba64580c29c Partially fixed
b3log siyuan <= 3.5.9 after 3.5.9 Fixed
siyuan-note siyuan = < 3.6.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
siyuan-note github.com/siyuan-note/siyuan/kernel(Go) <= 0.0.0-20260113130602-4ba64580c29c No fix listed
siyuan-note github.com/siyuan-note/siyuan/kernel(Go) All versions No fix listed
siyuan-note siyuan = < 3.6.0 No fix listed
b3log siyuan <= 3.5.9 No fix listed

References