CVE-2026-45147

MEDIUM CVSS 3.1: 4.3 EPSS 0.15%
Updated Jun 17, 2026
Siyuan
Parameter Value
CVSS 4.3 (MEDIUM)
Fixed In 3.7.0
Type CWE-285 (Improper Authorization), CWE-862 (Missing Authorization)
Vendor Siyuan
Public PoC No

SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, POST /api/tag/getTag is registered with model.CheckAuth only, omitting both model.CheckAdminRole and model.CheckReadonly, despite the handler performing a configuration write that is normally guarded by both. Any authenticated user — including publish-service RoleReader accounts and RoleEditor accounts on a read-only workspace — can call this endpoint with a sort argument to mutate model.Conf.Tag.Sort and trigger model.Conf.Save(), which atomically rewrites the entire workspace conf.json.

This vulnerability is fixed in 3.7.0.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1