CVE-2026-32747: SiYuan globalCopyFiles: incomplete sensitive path blocklist allows reading /proc and Docker secrets
(updated )
POST /api/file/globalCopyFiles reads source files using filepath.Abs() with no workspace boundary check, relying solely on util.IsSensitivePath() whose blocklist omits /proc/, /run/secrets/, and home directory dotfiles. An admin can copy /proc/1/environ or Docker secrets into the workspace and read them via the standard file API.
References
- github.com/advisories/GHSA-h5vh-m7fg-w5h6
- github.com/siyuan-note/siyuan
- github.com/siyuan-note/siyuan/commit/9914fd1d39e5f0a8dcc9fb587e1c0b46f31490a1
- github.com/siyuan-note/siyuan/releases/tag/v3.6.1
- github.com/siyuan-note/siyuan/security/advisories/GHSA-h5vh-m7fg-w5h6
- nvd.nist.gov/vuln/detail/CVE-2026-32747
Code Behaviors & Features
Detect and mitigate CVE-2026-32747 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 →