CVE-2026-29073: SiYuan: Direct SQL Query API accessible to Reader-level users enables unauthorized database access
Vulnerability summary
CVE-2026-29073 is a high (CVSS 8.8) vulnerability in b3log siyuan. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 33.5% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 06-03-2026PublishedVulnerability first disclosed.
- 09-03-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · GoEcosystem advisory · calculated7.1HighCVSS: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:PDiffers
- NVDNIST5.7MediumCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.38%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.37% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundSiyuan
Maturity: poc
Weaknesses
CWE · root cause- CWE-89Improper Neutralization of Special Elements used in an SQL CommandThe product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
- CWE-862Missing AuthorizationThe product does not perform an authorization check when an actor attempts to access a resource or perform an action.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
B3log1 product
- siyuan≤ 3.5.9
Github.com/siyuan-note/siyuan1 product
- kernel≤ 0.0.0-20260113130602-4ba64580c29c | All versions (No fix recorded)
Siyuan-note1 product
- siyuan< 3.6.0
3 vendors · 3 products
References
3 links- github.com/siyuan-note/siyuan/security/advisories/GHSA-jqwg-75qf-vmf9X Refsource CONFIRMWEBAdvisoryExploitVendor Advisory