Skip to main content
VulnerabilityPublished Updated

CVE-2026-32704: siyuan · Improper Authorization

Affects siyuanSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.5 Medium : upgrade to 3.6.1 when convenient.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.6.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade siyuan and siyuan-note/siyuan to 3.6.1.

Affected software

ProductAffectedFixed in
siyuan-notesiyuanAffected
  • <3.6.1
Fixed in
  • 3.6.1
GitHubsiyuan-note/siyuanpkg:github/siyuan-note/siyuanOther threatsAffected
  • <3.6.1
Fixed in
  • 3.6.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Upgrade SiYuan to version 3.6.1 or later immediately to apply the official patch that enforces proper admin role authorization on the affected API endpoint.
  2. Restrict access to SiYuan instances to trusted users only, employing strong authentication mechanisms such as multi-factor authentication (MFA) to reduce risk of credential compromise.
  3. Implement strict role-based access controls (RBAC) within SiYuan to ensure that only authorized administrators can access sensitive API endpoints or perform privileged operations.
  4. Monitor application logs and database query logs for unusual or unauthorized SQL query patterns indicative of exploitation attempts.
  5. Conduct regular audits of user permissions and access rights to detect and remediate privilege escalation or inappropriate access.
  6. Isolate SiYuan deployments within secure network segments and apply network-level controls such as firewalls and intrusion detection/prevention systems to limit exposure.
  7. Educate users about the importance of credential security and the risks of insider threats, as authenticated access is required for exploitation.
  8. Consider implementing database activity monitoring solutions to detect anomalous query execution in real time.
  9. If upgrading immediately is not feasible, consider temporarily disabling or restricting access to the vulnerable API endpoint as a stopgap measure.
  10. Maintain an incident response plan to quickly address any detected exploitation or data leakage incidents.

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.

References

Community reviews

Loading reviews…