CVE-2026-29073

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

State
Published
Severity
5.7 Medium
Published
Mar 6, 2026
Updated
Mar 9, 2026
Reserved
Mar 3, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.7 MediumCVSS: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:PGitHub_M

Weaknesses

  • CWE-862 Missing Authorization
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Affected Products

ProductVersions
siyuansiyuan-note
  • < 3.6.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.