Skip to main content

SiYuan CVE-2026-60084

| EUVDEUVD-2026-64269 HIGH
Path Traversal (CWE-22)
2026-08-22 VulnCheck GHSA-f62p-x567-xj6g
8.4
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain SiYuan admin credentials
  2. Delivery
    Authenticate to SiYuan HTTP API
  3. Exploit
    Craft POST request to /api/search/removeTemplate
  4. Execution
    Supply arbitrary absolute filesystem path as parameter
  5. Persist
    os.RemoveAll recursively deletes target path
  6. Impact
    Critical files or directories permanently destroyed

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires valid SiYuan administrator credentials - confirmed by the CVSS PR:H metric. The attacker must reach the SiYuan backend HTTP API (default behavior is LAN/localhost exposure, not public internet), authenticate successfully, and supply an arbitrary absolute filesystem path as the template path parameter to /api/search/removeTemplate. What limits exploitation: (1) admin-level authentication is mandatory, ruling out unauthenticated or low-privilege attacks; (2) impact is bounded by the OS-level permissions of the SiYuan kernel process - a least-privilege process account restricts reachable filesystem paths; (3) SiYuan is typically deployed as a local or LAN-only tool, reducing external network exposure. No special non-default configuration is required for the vulnerability itself - any standard SiYuan deployment with the API accessible is susceptible once admin credentials are obtained.

Impact

The CVSS 4.0 score of 8.4 (AV:N/AC:L/AT:N/PR:H/UI:N) reflects a real but constrained threat: exploitation requires valid admin-level credentials, which limits the attacker population to insiders, credential-theft scenarios, or compromised sessions. The score is elevated by severe integrity and availability impacts on both the vulnerable system (VI:H/VA:H) and subsequent systems (SI:H/SA:H) - the latter is realistic when SiYuan runs on a shared server where the kernel process has broad filesystem rights, enabling deletion of OS-critical or shared-storage paths. EPSS data was not provided in the input, so exploitation probability cannot be quantified. No CISA KEV listing and no public POC exist at time of analysis, indicating low opportunistic risk. The downstream scope change signals may be overstated for isolated single-user desktop deployments where the kernel process is OS-user-confined; organizations running SiYuan as a multi-user or server-hosted instance should treat this as higher priority. Active exploitation is unconfirmed - this is a real-world priority driven by insider threat and credential-compromise scenarios, not mass scanning.

Exploit ScenarioDerived

An attacker who has obtained SiYuan administrator credentials - through phishing, credential reuse, or insider access - authenticates to the SiYuan HTTP API and submits a POST request to /api/search/removeTemplate with a path parameter set to a critical absolute filesystem path such as /etc or the application's data root. The SiYuan kernel calls os.RemoveAll on that path without validation, recursively and permanently deleting the target. No public exploit code has been identified, but the attack requires only standard HTTP tooling and valid admin credentials.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 22, 2026

Arbitrary file deletion in SiYuan before v3.7.4 allows authenticated administrators to recursively destroy any file or directory accessible to the SiYuan kernel process by supplying an unsanitized absolute path to the /api/search/removeTemplate endpoint, which passes the value directly to Go's os.RemoveAll. All SiYuan releases prior to v3.7.4 are confirmed affected per vendor advisory GHSA-w938-w7m4-qrj8. No public exploit or CISA KEV listing exists at time of analysis, but the high integrity and availability impact - including potential downstream filesystem destruction beyond the application - makes admin credential hygiene the critical control.

RemediationAI

Upgrade to SiYuan v3.7.4 or later - the vendor-released patch that resolves this issue, as confirmed by the advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w938-w7m4-qrj8. If immediate upgrade is not feasible, restrict network access to the SiYuan API port using a host-based firewall or reverse proxy so only explicitly trusted users can reach the /api/search/removeTemplate endpoint; note this does not protect against malicious authenticated admins or compromised sessions. Running the SiYuan kernel under a least-privilege OS account confined to the SiYuan data directory (e.g., via Linux filesystem permissions or a dedicated service account) limits the blast radius of any exploitation - the trade-off is added operational complexity during setup. Audit existing SiYuan admin accounts and rotate credentials as a compensating control while patching is arranged.

Affected VersionsENISA

SiYuan 0 <3.7.4

Affected Packages

euvd siyuan fix: 3.7.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SiYuan is a self-hosted personal knowledge management system with a Go backend kernel that exposes a local HTTP API. The /api/search/removeTemplate endpoint is intended to remove template files by path, but it accepts caller-supplied paths without canonicalization, allow-list validation, or confinement to a safe base directory before invoking os.RemoveAll - Go's recursive directory removal function. CWE-22 (Path Traversal) identifies the root cause class: the application trusts user-supplied path components without verifying they resolve within an authorized subtree. The CPE cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:* covers all platform variants (Linux, macOS, Windows), and the blast radius scales directly with the OS-level filesystem permissions granted to the SiYuan kernel process at startup.

Know when Siyuan gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.4 HIGH
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
vuln.today AI 8.7 HIGH

Admin credentials required (PR:H); scope change because kernel process can delete OS files beyond application boundary; no confidentiality impact since deletion does not expose data.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
Patch available
Aug 22, 2026 - 13:16 EUVD
CVE Published
Aug 22, 2026 - 12:26 cve.org
HIGH 8.4

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

SiYuan versions before 3.7.4 contain an arbitrary file deletion vulnerability allowing privileged users to destroy any file accessible to the application process, including critical data and system files. Organizations running vulnerable instances risk unrecoverable data loss and operational disruption if administrator credentials are compromised or privileges are misused. Remediation requires immediate access controls and upgrade planning.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: restrict administrative access to SiYuan through network segmentation and firewall rules limiting connectivity to authorized personnel only; enforce principle of least privilege for administrative accounts; implement comprehensive audit logging of the /api/search/removeTemplate endpoint and all administrator authentication events to detect suspicious activity; maintain frequent offline backups of SiYuan-managed data independent of the running application; run SiYuan in containerized or filesystem-isolated environments to contain potential damage from file operations.

Threat Intelligence Overview

EPSS Score
0.5%
Top 57% exploitable
Prevalence
Low
niche self-hosted personal knowledge management tool
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Siyuan

View all
CVE-2026-69083 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role

CVE-2026-54067 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a

CVE-2026-69084 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements

CVE-2026-54158 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,

CVE-2026-69085 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr

CVE-2024-53507 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t

CVE-2024-53506 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R

CVE-2024-53505 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti

CVE-2024-53504 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c

CVE-2026-23852 CRITICAL POC
9.6 Jan 19

SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex

CVE-2026-56397 CRITICAL POC
9.4 Jun 21

Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package

CVE-2026-54069 CRITICAL POC
9.2 Jun 24

Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy