What’s Vulnerable › Vulnerabilities

CVE-2026-60084: SiYuan before v3.7.4 Arbitrary File Deletion via removeTemplate

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

How to fix

Upgrade to a fixed version: siyuan-note siyuan 3.7.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-60084 or the next vulnerability affects your stack