Description
SiYuan versions before v3.8.4 contain a path traversal vulnerability in the checkoutRepo endpoint that allows authenticated administrators to write JSON files outside the workspace. Attackers can supply a sessionID parameter containing directory traversal sequences to overwrite arbitrary JSON files in pre-existing kernel-writable directories outside workspace boundaries.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| siyuan-note | siyuan | < 3.8.4 | 3.8.4 |
References
- GitHub Security Advisory (GHSA-jhmh-hr4g-c5g2) vendor-advisory
- VulnCheck Advisory: SiYuan before v3.8.4 Path Traversal via checkoutRepo sessionID third-party-advisory