SiYuan before 3.8.10 Path Traversal via /api/file/copyFile Deny-List Bypass
- State
- Published
- Severity
- 9.3 Critical
- Published
- Nov 18, 2026
- Updated
- Nov 21, 2026
- Reserved
- Nov 17, 2026
Description
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.
| Product | Versions |
|---|---|
| siyuan siyuan-note | before 3.8.10 Affected3.8.10 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | VulnCheck | |
| 3.1 | 8.2 High | VulnCheck |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- GitHub Security Advisory (GHSA-4xfj-946m-258h)Vendor Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.