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

Published Aug 22, 2026
·
Updated

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 Software

1 affected component
SiYuan SiYuan<v3.7.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade SiYuan to a version that resolves this vulnerability.

    Fixed in 3.7.4
  2. Compensating control

    Restrict access to the SiYuan endpoint /api/search/removeTemplate so only trusted, authenticated administrators can reach it.

Event History

Aug 22, 2026
CVE Published
via MITRE·12:26 PM
Data Sourced
via MITRE·12:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated administrator can exploit it remotely through the affected API endpoint. Exploitation does not require user interaction and has low attack complexity.

2

What level of access is needed for the deletion to succeed?

The vulnerable kernel process can recursively delete files or directories anywhere on the host filesystem, but only where that process has permission to remove them. The practical impact therefore depends on the operating-system privileges and filesystem access of the SiYuan process.

3

Are current releases affected?

The issue affects SiYuan versions before v3.7.4. Upgrading to v3.7.4 or later removes the stated affected version range.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203