Skip to content
OpenAdvisories
Medium · 5.7 CVE-2026-29073 EUVD-2026-10021GHSA-jqwg-75qf-vmf9GO-2026-4592

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

Published Mar 6, 2026 · Updated Mar 9, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
siyuan-note siyuan < 3.6.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20260317T205859-150000.1.152.1 SUSE-SU-2026:1042-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/siyuan-note/siyuan/kernel <= 0.0.0-20260113130602-4ba64580c29c — GHSA-jqwg-75qf-vmf9
Go github.com/siyuan-note/siyuan/kernel all versions — GO-2026-4592

Advisories 2

References