cve.bz

CVE-2026-23851

8.3 highEPSS 0.5%

High (8.3) in b3log siyuan. EPSS 0.5% chance of exploitation in the next 30 days. Fixed in github.com/siyuan-note/siyuan/kernel 0.0.0-20260118092521-f8f4b517077b.

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.

Severity

CVSS 4.0

8.3 high
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

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.5% chance of exploitation in the next 30 days; higher than 44% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-94c7-g2fj-7682Gogithub.com/siyuan-note/siyuan/kernel<0.0.0-20260118092521-f8f4b517077b0.0.0-20260118092521-f8f4b517077b
GO-2026-4346Gogithub.com/siyuan-note/siyuan/kernel<0.0.0-20260118092521-f8f4b517077b0.0.0-20260118092521-f8f4b517077b

References

Check your stackJSON