PT-2026-3497 · Siyuan · Siyuan

Jaroslaw-Wawiorko

·

Published

2026-01-19

·

Updated

2026-02-06

·

CVE-2026-23851

CVSS v4.0

8.3

High

VectorAV: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

Weakness Enumeration

Related Identifiers

CVE-2026-23851
GHSA-94C7-G2FJ-7682
GO-2026-4346
SUSE-SU-2026:0403-1

Affected Products

Siyuan