CVE-2026-45371CWE-285CWE-862

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

High · published May 14, 2026

CVSS v4.0
7.2
EPSS
0%
Percentile
27.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.2 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
EPSS
0.00351 · 27.5th percentile
Weaknesses
CWE-285 · Improper Authorization; CWE-862 · Missing Authorization
Published
2026-05-14T18:14Z
EPSS history
Timeline
  • 14 MAY 18:14Z
    SiYuan: SiYuan publish-mode Reader can mutate Conf and SQL index via 8 ungated APIs
    cvelistv5