CVE-2026-60084

SiYuan before v3.7.4 Arbitrary File Deletion via removeTemplate

State
Published
Severity
8.4 High
Published
Aug 22, 2026
Updated
Aug 24, 2026
Reserved
Jul 8, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.4 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:HVulnCheck
3.18.7 HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:HVulnCheck

Weaknesses

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

Affected Products

ProductVersions
siyuansiyuan-note
  • before 3.7.4Affected
  • 3.7.4Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.