CVE-2026-23851: b3log siyuan Path Traversal
Vulnerability summary
CVE-2026-23851 is a high (CVSS 8.3) Path Traversal vulnerability in b3log siyuan. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 43.1% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 19-01-2026PublishedVulnerability first disclosed.
- 20-01-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · GoEcosystem advisory · calculated8.3HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
- NVDNIST8.3HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.52%
Chance of exploitation in the next 30 days
Percentile
43%
Versus all other CVEs
30-day change
+0.01 pp
From 0.51% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundSiyuan
Maturity: poc
Weaknesses
CWE · root causeAffected systems
B3log1 product
- siyuan< 3.5.4
Github.com/siyuan-note/siyuan1 product
- kernel< 0.0.0-20260118092521-f8f4b517077b
Siyuan-note1 product
- siyuan< 3.5.4
3 vendors · 3 products
References
6 links- github.com/siyuan-note/siyuan/security/advisories/GHSA-94c7-g2fj-7682X Refsource CONFIRMWEBAdvisoryExploitPatchVendor Advisory
- github.com/siyuan-note/siyuan/commit/b2274baba2e11c8cf8901b0c5c871e5b27f1f6ddX Refsource MISCWEBPatch
- github.com/siyuan-note/siyuan/commit/f8f4b517077b92c90c0d7b51ac11be1b34b273adX Refsource MISCWEBPatch