PT-2026-40726

CVE-2026-45147

·

Published

2026-05-13

·

Updated

2026-07-30

Description by

CVSS 3.1
4.3
Medium
MetricsAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions SiYuan versions prior to 3.7.0
Description The endpoint "/api/tag/getTag" is registered using only the model.CheckAuth middleware, missing the model.CheckAdminRole and model.CheckReadonly checks. This allows any authenticated user, including those with RoleReader or RoleEditor permissions on read-only workspaces, to perform unauthorized configuration writes. By providing a sort argument to the endpoint, an attacker can mutate model.Conf.Tag.Sort and trigger the model.Conf.Save() function, which atomically rewrites the entire workspace conf.json file. This can lead to the rollback of other legitimate configuration settings if a write-race occurs.
Recommendations Update to version 3.7.0. As a temporary workaround, restrict access to the "/api/tag/getTag" endpoint to authorized administrators only.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-6R88-8V7Q-Q4P2
GO-2026-5188
OPENSUSE-SU-2026:21483-1
Found an issue in the description? Have something to add? Feel free to write us 👾