# CVE-2026-32704: SiYuan renderSprig: missing admin check allows any user to read full workspace DB

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- 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.41%, higher than 27% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-13T20:56:47.000Z
- Modified: 2026-11-05T21:30:06.067Z
- Also known as: GHSA-4j3x-hhg2-fm2x, GO-2026-4700
- Weaknesses: CWE-285, CWE-732
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

SiYuan is a personal knowledge management system. Prior to 3.6.1, POST /api/template/renderSprig lacks model.CheckAdminRole, allowing any authenticated user to execute arbitrary SQL queries against the SiYuan workspace database and exfiltrate all note content, metadata, and custom attributes. This vulnerability is fixed in 3.6.1.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.6.1
- github.com/siyuan-note/siyuan/kernel (Go): before 3.6.1; all versions
- b3log siyuan: before 3.6.1

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4j3x-hhg2-fm2x> (exploit, advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32704> (advisory)
- <https://github.com/siyuan-note/siyuan/issues/17209> (web)
- <https://github.com/siyuan-note/siyuan/commit/5859cc222f2016874f778dd8f4ebafaab1cf7e0> (web)
- <https://github.com/siyuan-note/siyuan> (package)

## Sources

- CVE List: [CVE-2026-32704](https://www.cve.org/CVERecord?id=CVE-2026-32704), CVE Terms of Use, modified 2026-03-16
- GitHub Advisory Database: [GHSA-4j3x-hhg2-fm2x](https://github.com/advisories/GHSA-4j3x-hhg2-fm2x), CC-BY-4.0, modified 2026-11-05
- Go Vulnerability Database: [GO-2026-4700](https://pkg.go.dev/vuln/GO-2026-4700), CC-BY-4.0, modified 2026-03-26
- NVD: [CVE-2026-32704](https://nvd.nist.gov/vuln/detail/CVE-2026-32704), Public domain, modified 2026-06-17

---

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