CVE-2026-60084 PUBLISHED

SiYuan before v3.7.4 Arbitrary File Deletion via removeTemplate

Assigner: VulnCheck
Reserved: 08.07.2026 Published: 22.08.2026 Updated: 22.08.2026

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 Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H
CVSS Score: 8.4

Product Status

Vendor siyuan-note
Product siyuan
Versions Default: unaffected
  • affected from 0 to 3.7.4 (excl.)
  • Version 3.7.4 is unaffected

Credits

  • alham-rizvi reporter

References

Problem Types

  • Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE