CVE-2026-137472: SiYuan 3.6.2 before 3.8.10 Path Traversal via globalCopyFiles Denylist Gaps
SiYuan from 3.6.2 before 3.8.10 contains a path traversal vulnerability that allows admin token holders to read files outside the workspace because the globalCopyFiles and workspaceCopyFiles denylist omits /home, /mnt, /media, and /snap. Attackers can copy other users' SSH authorizedkeys, Docker and AWS configs, or mounted files into the workspace and retrieve them via the getFile API.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
SiYuanto a version that resolves this vulnerability.Fixed in 3.8.10
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs a SiYuan admin token. The issue affects installations from 3.6.2 up to, but not including, 3.8.10.
What data could an attacker access?
An admin-token holder can copy files from omitted paths such as /home, /mnt, /media, and /snap into the workspace, then retrieve them through the getFile API. This can expose other users' SSH authorized_keys, Docker configuration, AWS configuration, and files on mounted storage.
How can I tell whether my deployment is exposed?
Check whether the SiYuan version is 3.6.2 through 3.8.9 and whether an admin token could be obtained or used by an untrusted party. Systems containing sensitive files under /home, /mnt, /media, or /snap have relevant data exposure risk.