Vulnerability record · brew
SiYuan before 3.8.10 Path Traversal via /api/file/copyFile Deny-List Bypass
brew
What it fixes
SiYuan before 3.8.10 uses an incomplete deny-list in IsSensitivePath that omits shell-initialization files such as .zshenv and .bash_profile, as well as ~/.local. Authenticated administrators can call /api/file/copyFile with an absolute destination outside the workspace to write payloads there, which execute as the user on the next shell or login.
Manual fix · brew
Sources