Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| siyuan-note / siyuan | affected 0 before 3.8.2; unaffected 3.8.2 |
CWE
CWE-59
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-g7gf-v79m-jwrm
- https://www.vulncheck.com/advisories/siyuan-before-3.8.2-path-traversal-via-symlink-in-file-api
ADP enrichment
No English description supplied.
No references supplied.