Vulnerability · Published Mar 6, 2026 · Assigned by GitHub_M

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

Medium 5.7

In plain English

A medium-severity missing authorization in siyuan from siyuan-note. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities).

Severity (CVSS 4.0)5.7Medium
Exploit odds (30 days)0.4%top 69.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/siyuan-note/siyuan/kernelno fix listedGHSA-jqwg-75qf-vmf9
Gogithub.com/siyuan-note/siyuan/kernelno fix listedGO-2026-4592

Affected products (as reported)

VendorProductVersions
siyuan-note siyuan < 3.6.0

Weakness: CWE-862, CWE-89 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P

References