Read the docs
TI-2026-33162 Aliases CVE-2026-45371GHSA-gmmv-4cc5-wr9r

SiYuan: SiYuan publish-mode Reader can mutate Conf and SQL index via 8 ungated APIs

Priority HIGH 65CWE-285Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
Low · High · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-285.

Summary

SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, SiYuan publish-mode Reader can mutate Conf and SQL index via 8 ungated APIs. POST /api/graph/getGraph, POST /api/graph/getLocalGraph, POST /api/sync/setSyncInterval, POST /api/storage/updateRecentDocViewTime, POST /api/storage/updateRecentDocCloseTime, POST /api/storage/updateRecentDocOpenTime, POST /api/storage/batchUpdateRecentDocCloseTime, and POST /api/search/updateEmbedBlock are registered with model.CheckAuth only, omitting both model.CheckAdminRole and model.CheckReadonly. Each of them writes server-side state, including atomic rewrites of <workspace>/conf/conf.json via model.Conf.Save(). Any caller whose JWT passes CheckAuth, including a publish-service RoleReader (the role assigned to anonymous publish visitors) and a RoleEditor against a workspace where Editor.ReadOnly = true, can hit them This vulnerability is fixed in 3.7.0.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00207 10th percentileScored 2026-11-07
Fix Fixed siyuan (siyuan-note): 3.7.0github.com/siyuan-note/siyuan/kernel (Go): 0.0.0-20260512140701-d7b77d945e0d

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
siyuan-notesiyuanbefore 3.7.03.7.0Patch availableCNA
—github.com/siyuan-note/siyuan/kernel (Go)before 0.0.0-20260512140701-d7b77d945e0d0.0.0-20260512140701-d7b77d945e0dPatch availableGHSA-gmmv-4cc5-wr9r
  • siyuan Vendorsiyuan-note Affected before 3.7.0 Fixed in 3.7.0 Patch available CNA
  • github.com/siyuan-note/siyuan/kernel (Go) Vendor— Affected before 0.0.0-20260512140701-d7b77d945e0d Fixed in 0.0.0-20260512140701-d7b77d945e0d Patch available GHSA-gmmv-4cc5-wr9r

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*——siyuan-note
  • cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:* Versions — — ·siyuan-note

Remediation

  • Fix · CNA siyuan (siyuan-note) Fixed in 3.7.0
  • Fix · GHSA-gmmv-4cc5-wr9r github.com/siyuan-note/siyuan/kernel (Go) Fixed in 0.0.0-20260512140701-d7b77d945e0d Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-45371
  2. 2026-10-03 Alias added: GHSA-gmmv-4cc5-wr9r

References

  • TI-2026-48492 SiYuan before v3.7.3 SQL Injection via searchDocs CVSS 4.0CRITICAL 9.9
  • TI-2026-48491 SiYuan before v3.7.3 SQL Injection via searchEmbedBlock CVSS 4.0CRITICAL 9.9
  • TI-2026-48490 SiYuan before v3.7.3 SQL Injection via fullTextSearchAssetContent CVSS 4.0CRITICAL 9.9
  • TI-2026-47010 SiYuan before v3.7.2 Unauthenticated Administrator Takeover via MCP CVSS 4.0CRITICAL 10.0
  • TI-2026-26050 SiYuan has directory traversal within its publishing service CVSS 3.1CRITICAL 9.8
  • TI-2026-25256 SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API CVSS 3.1CRITICAL 9.8
See all 242 →

Sources