Description
SiYuan versions before v3.8.2 contain a path traversal vulnerability in the reader-accessible file-read endpoint that follows symlinks when opening authorized asset paths. Attackers with reader role can request a logical asset under data/assets/ that is a symlink to a file outside the workspace and receive the target file bytes, bypassing workspace boundary restrictions.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| siyuan-note | siyuan | < 3.8.2 | 3.8.2 |
References
- GitHub Security Advisory (GHSA-g7gf-v79m-jwrm) vendor-advisory
- VulnCheck Advisory: SiYuan before v3.8.2 Path Traversal via symlink in file API third-party-advisory