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

Medium 5.7 Published Updated

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.

Weakness: CWE-89, CWE-862

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.

PackageAffectedFixed in
github.com/siyuan-note/siyuan/kernel GoAll versionsNone
github.com/siyuan-note/siyuan/kernel GoAll versions to 0.0.0-20260113130602-4ba64580c29cNone
github.com/siyuan-note/siyuan/kernel GoAll versions to 0.0.0-20260113130602-4ba64580c29cNone

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.

All B3log Siyuan vulnerabilities

Sources

Also known as GHSA-jqwg-75qf-vmf9, GO-2026-4592.

Is CVE-2026-29073 in your software?

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

Check your SBOMs for free