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.
Metrics
CVSS 3.1 8.7/10
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:HWeakness enumeration
Affected software
No affected versions have been published.
Timeline
- Published
- Aug 22, 2026
- Last modified
- Oct 12, 2026
- NVD status
- Deferred