CVE-2026-32704: SiYuan - SQL Injection
- Cve: CVE-2026-32704
- Name: SiYuan - SQL Injection
- 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.
- Impact: Authenticated attackers can execute arbitrary SQL queries to exfiltrate all note content, metadata, and custom attributes.
- Remediation: Update to version 3.6.1 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: sql_injection, information_disclosure
- Requirement type: logged_in
- Requirements: Attacker must be authenticated
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.00285
- Epss percentile: 0.2134
- Assignee: [email protected]
- Published at: 2026-03-16T14:19:41Z
- Age in days: 253
- Modified at: 2026-06-17T10:36:14Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-32704
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-285 | Improper Authorization |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4j3x-hhg2-fm2x | nvd | 2026-03-16 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4j3x-hhg2-fm2x | nvd | Exploit, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| b3log:siyuan | < 3.6.1 | no | nvd | /v1/products/b3log/siyuan |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| siyuan-note/siyuan | commit, fix, issues, package, security_advisory | yes | /v1/repositories/siyuan-note/siyuan |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-03-16
- Remote: yes
- Authentication required: yes
- Exposed hosts: 354
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports