CVE-2026-29073 SiYuan: Direct SQL Query API accessible to Reader-level users enables unauthorized database access
Logged-in users, including readers, can execute arbitrary SQL queries due to missing admin authorization checks on the 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-29073?
CVE-2026-29073 is a medium-severity missing authorization vulnerability in B3log Siyuan, published on 6 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 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.
Which versions are affected by CVE-2026-29073?
3 open source packages ship an affected version, including github.com/siyuan-note/siyuan/kernel. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/siyuan-note/siyuan/kernel Go | All versions | None |
github.com/siyuan-note/siyuan/kernel Go | All versions to 0.0.0-20260113130602-4ba64580c29c | None |
github.com/siyuan-note/siyuan/kernel Go | All versions to 0.0.0-20260113130602-4ba64580c29c | None |
Products include B3log Siyuan.
How do I fix CVE-2026-29073?
Upgrade to a fixed version.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-29073 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-29073 exists.
Other vulnerabilities in B3log Siyuan
- CVE-2026-32938 SiYuan has an Arbitrary File Read in its Desktop Publish Service
- CVE-2026-33669 SiYuan has Arbitrary Document Reading within the Publishing Service
- CVE-2026-33670 SiYuan has directory traversal within its publishing service
- CVE-2026-32767 SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API
- CVE-2024-53504 SQL injection in n/a
Sources
Also known as GHSA-jqwg-75qf-vmf9, GO-2026-4592.