SiYuan
SiYuan before 3.8.10 Path Traversal via /api/file/copyFile Deny-List Bypass
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.3critical · scored by CNA · CWE-22
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
siyuan-note siyuan
- < 3.8.10
Fixed in 3.8.10
Mitigation
Upgrade siyuan to 3.8.10 or later.
References
- Vendor advisory github.com/siyuan-note/siyuan/security/advisor…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.