Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/siyuan-note/siyuan/kernel
  4. ›
  5. CVE-2026-32704

CVE-2026-32704: SiYuan's renderSprig has a missing admin check that allows any user to read full workspace DB

March 13, 2026 (updated March 16, 2026)

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.

References

  • github.com/advisories/GHSA-4j3x-hhg2-fm2x
  • github.com/siyuan-note/siyuan
  • github.com/siyuan-note/siyuan/issues/17209
  • github.com/siyuan-note/siyuan/security/advisories/GHSA-4j3x-hhg2-fm2x
  • nvd.nist.gov/vuln/detail/CVE-2026-32704

Code Behaviors & Features

Detect and mitigate CVE-2026-32704 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.6.1

Fixed versions

  • 3.6.1

Solution

Upgrade to version 3.6.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization
  • CWE-732: Incorrect Permission Assignment for Critical Resource

Source file

go/github.com/siyuan-note/siyuan/kernel/CVE-2026-32704.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 18 Mar 2026 12:20:27 +0000.