Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-23851
January 19, 2026
SiYuan is a personal knowledge management system. Versions prior to 3.5.4 contain a logic vulnerability in the /api/file/globalCopyFiles endpoint. The function allows authenticated users to copy files from any location on the server's filesystem into the application's workspace without proper path validation. The vulnerability exists in the api/file.go source code. The function globalCopyFiles accepts a list of source paths (srcs) from the JSON request body. While the code checks if the source file exists using filelock.IsExist(src), it fails to validate whether the source path resides within the authorized workspace directory. Version 3.5.4 patches the issue.
Affected Packages
https://github.com/siyuan-note/siyuan.git (GITHUB):
Affected version(s) >=v3.5.0 <v3.5.4-dev3
Fix Suggestion:
Update to version v3.5.4-dev3
github.com/siyuan-note/siyuan (GO):
Affected version(s) >=v0.1.0 <v3.5.4
Fix Suggestion:
Update to version v3.5.4
github.com/siyuan-note/siyuan/kernel (GO):
Affected version(s) >=v0.0.0-20220531085609-815128bd5343 <v0.0.0-20260118092521-f8f4b517077b
Fix Suggestion:
Update to version v0.0.0-20260118092521-f8f4b517077b
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.04