CVE-2026-23851: SiYuan Vulnerable to Arbitrary File Read via File Copy Functionality
The SiYuan Note application (v3.5.3) contains 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
References
- github.com/advisories/GHSA-94c7-g2fj-7682
- github.com/siyuan-note/siyuan
- github.com/siyuan-note/siyuan/commit/b2274baba2e11c8cf8901b0c5c871e5b27f1f6dd
- github.com/siyuan-note/siyuan/commit/f8f4b517077b92c90c0d7b51ac11be1b34b273ad
- github.com/siyuan-note/siyuan/issues/16860
- github.com/siyuan-note/siyuan/security/advisories/GHSA-94c7-g2fj-7682
- nvd.nist.gov/vuln/detail/CVE-2026-23851
Code Behaviors & Features
Detect and mitigate CVE-2026-23851 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →