What’s Vulnerable › Vulnerabilities
CVE-2026-60084: SiYuan before v3.7.4 Arbitrary File Deletion via removeTemplate
- Severity: high (CVSS 8.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-22 · updated 2026-10-12
- Weakness: CWE-22
Description
SiYuan versions before v3.7.4 contain an arbitrary file deletion vulnerability in the /api/search/removeTemplate endpoint that accepts an unvalidated path parameter passed directly to os.RemoveAll. Authenticated admin attackers can supply absolute filesystem paths to recursively delete any file or directory the kernel process has permission to remove, anywhere on the host filesystem.
Affected products
- siyuan-note siyuan: before 3.7.4 — fixed in 3.7.4
How to fix
Upgrade to a fixed version: siyuan-note siyuan 3.7.4. Check the vendor advisory for mitigations.
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w938-w7m4-qrj8
- https://www.vulncheck.com/advisories/siyuan-before-arbitrary-file-deletion-via-removetemplate
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w938-w7m4-qrj8
Get alerted when CVE-2026-60084 or the next vulnerability affects your stack