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

- Severity: Medium 5.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-03T21:17:58.000Z
- Modified: 2026-06-17T10:29:33.227Z
- Also known as: GHSA-jqwg-75qf-vmf9, GO-2026-4592
- Weaknesses: CWE-89, CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.6.0
- github.com/siyuan-note/siyuan/kernel (Go): up to 0.0.0-20260113130602-4ba64580c29c; all versions
- b3log siyuan: up to 3.5.9

## Every score

- GitHub_M: CVSS:4.0 5.7 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-jqwg-75qf-vmf9> (exploit, advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-29073> (advisory)
- <https://github.com/siyuan-note/siyuan> (package)

## Sources

- CVE List: [CVE-2026-29073](https://www.cve.org/CVERecord?id=CVE-2026-29073), CVE Terms of Use, modified 2026-03-09
- GitHub Advisory Database: [GHSA-jqwg-75qf-vmf9](https://github.com/advisories/GHSA-jqwg-75qf-vmf9), CC-BY-4.0, modified 2026-03-23
- Go Vulnerability Database: [GO-2026-4592](https://pkg.go.dev/vuln/GO-2026-4592), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2026-29073](https://nvd.nist.gov/vuln/detail/CVE-2026-29073), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-29073 · Whole record: https://cve.day/CVE-2026-29073.json · Rebuilt by cve.day 2026-11-25T22:59:15.397Z
