CVE-2026-23851CWE-22

SiYuan Vulnerable to Arbitrary File Read via File Copy Functionality

High · published January 19, 2026

CVSS v4.0
8.3
EPSS
1%
Percentile
43.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.3 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
EPSS
0.00518 · 43.2th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-01-19T19:57Z
EPSS history
Timeline
  • 19 JAN 19:57Z
    SiYuan Vulnerable to Arbitrary File Read via File Copy Functionality
    cvelistv5