PT-2026-3497 · Siyuan · Siyuan
Jaroslaw-Wawiorko
·
Published
2026-01-19
·
Updated
2026-02-06
·
CVE-2026-23851
CVSS v4.0
8.3
High
| Vector | AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
SiYuan versions prior to 3.5.4
Description
SiYuan is a personal knowledge management system with a logic issue in the
/api/file/globalCopyFiles API endpoint. The issue allows authenticated users to copy files from any location on the server’s filesystem into the application’s workspace due to a lack of proper path validation. The vulnerable function, globalCopyFiles, accepts a list of source paths (srcs) from the JSON request body. While the code verifies file existence using filelock.IsExist(src), it does not confirm if the source path is within the authorized workspace directory. The vulnerability resides in the api/file.go source code.Recommendations
Update SiYuan to version 3.5.4 or later.
Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Siyuan