CVE-2026-60084: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in siyuan-note siyuan
Description
SiYuan versions prior to 3.7.4 have a path traversal vulnerability in the /api/search/removeTemplate endpoint. This flaw allows authenticated admin users to supply arbitrary filesystem paths to a deletion function, enabling recursive deletion of files or directories with the kernel process's permissions. The vulnerability is rated high severity with a CVSS 4.0 score of 8.4.
CVSS v4.0
Score 8.4high
Affected software
siyuan-note
siyuan
pkg:github/siyuan-note/siyuanRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-60084 is an arbitrary file deletion vulnerability in SiYuan note-taking software versions before 3.7.4. The /api/search/removeTemplate endpoint accepts an unvalidated path parameter that is passed directly to os.RemoveAll, a function that recursively deletes files or directories. Authenticated attackers with admin privileges can exploit this to delete any file or directory on the host filesystem that the kernel process has permission to remove, potentially causing significant data loss or system disruption.
Potential Impact
An authenticated admin attacker can delete arbitrary files or directories anywhere on the host filesystem with the permissions of the kernel process. This can lead to data loss, service disruption, or system instability depending on what files are deleted.
Mitigation Recommendations
A fix is available in SiYuan version 3.7.4. Users should upgrade to version 3.7.4 or later to remediate this vulnerability. No other mitigation guidance is provided.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-08T12:14:28.344Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a899b9bacd9273b49087871
Added to database: 08/22/2026, 12:52:43 UTC
Last enriched: 09/10/2026, 14:49:36 UTC
Last updated: 10/06/2026, 18:48:23 UTC
Views: 60
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.