Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials for SiYuan
-
DeliveryReach Bazaar install/uninstall API
-
ExploitSubmit packageName with ../ traversal
-
ExecutionWrite file outside Bazaar dir
-
PersistTrigger code execution or delete directories
-
ImpactHost compromise or destructive DoS
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 | Requires an authenticated administrator session on the target SiYuan instance (CVSS PR:H) and network reachability to its HTTP API; exploitation is performed by sending crafted packageName values containing directory-traversal sequences to the Bazaar install (arbitrary file write) or uninstall (recursive directory delete) endpoints. The limiting factors are: admin authentication is mandatory (no anonymous exploitation), the Bazaar feature/endpoints must be reachable, and the target must run a version before v3.7.4. In common single-user local deployments the 'admin' is the only user, which sharply narrows practical attacker exposure to cases of exposed, shared, or credential-compromised instances. |
| Impact | The CVSS 4.0 score of 9.4 (AV:N/AC:L/AT:N/PR:H/UI:N with high vulnerable- and subsequent-system impact) reflects that exploitation is network-borne and low-complexity but gated behind PR:H - the attacker must already hold administrator privileges on the SiYuan instance. This authentication requirement is the single most important risk-limiting factor and argues that the effective real-world severity is lower than the near-maximal base score suggests: it is primarily a privilege-to-host-compromise escalation and an insider/compromised-credential threat rather than a pre-auth mass-exploitation risk. No EPSS score, KEV entry, or public POC was provided, so there is no evidence of active exploitation or automatable weaponization; the arbitrary-file-write primitive is nonetheless a plausible route to full RCE, so any operator running SiYuan as a shared or internet-exposed service should treat it as urgent and patch promptly. Note a mild tension worth verifying with the vendor: SiYuan is frequently deployed as a single-user local desktop/server app where 'admin' equals the sole legitimate user, which materially reduces the threat surface compared to multi-user or exposed deployments. |
| Exploit ScenarioDerived | An attacker who has obtained SiYuan administrator credentials (e.g., via phishing, credential reuse, or an exposed default/weak login) sends a crafted Bazaar install request whose packageName contains '../' sequences, writing a malicious file such as a shell startup script, cron entry, or web-served payload to a sensitive location to achieve code execution. Alternatively, they call the uninstall endpoint with a traversal path to recursively delete critical directories, causing destructive denial of service. No public POC has been identified, but the attack is low-complexity given admin access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 21, 2026
Arbitrary file write and recursive directory deletion in SiYuan note-taking application before v3.7.4 stems from missing validation of the packageName parameter in the Bazaar marketplace install and uninstall endpoints. An authenticated administrator can supply directory-traversal sequences to write files to any filesystem location (install) or recursively delete arbitrary directories (uninstall), enabling remote code execution and destructive impact. No public exploit has been identified at time of analysis, and it is not listed in CISA KEV.
RemediationAI
Upgrade to SiYuan v3.7.4 or later, which contains the fix (Vendor-released patch: v3.7.4). Until upgrading, restrict who holds administrator access to the instance and avoid exposing the SiYuan HTTP service to untrusted networks - place it behind a VPN or authenticating reverse proxy and bind it to localhost where possible, accepting the trade-off that remote collaborators lose direct access. Because the flaw is reachable only via the Bazaar install/uninstall endpoints, blocking or proxy-filtering those API paths for non-trusted clients is a targeted compensating control, at the cost of disabling marketplace install/uninstall functionality. Consult GHSA-wr4w-7vjm-mmx3 and the VulnCheck advisory (https://www.vulncheck.com/advisories/siyuan-before-path-traversal-via-packagename) for authoritative fix details.
Affected VersionsENISA
Affected Packages
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-hostable, open-source personal knowledge-management and Markdown note-taking application with a Go backend serving an HTTP API. The 'Bazaar' is its plugin/theme/template marketplace, whose install and uninstall handlers use a client-supplied packageName to determine on-disk paths. Because packageName is passed to filesystem operations without canonicalization or containment checks, '../' sequences escape the intended Bazaar directory - the classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / path traversal) root cause. Install writes attacker-controlled content to the resolved path; uninstall performs a recursive delete on it.
Know when the next one hits your stack
- 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Network-reachable API but requires admin (PR:H); traversal escapes the app directory to affect the host OS, so scope changes to S:C with full write/delete leading to RCE-grade C/I/A:H.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
2DescriptionCVE.org
SiYuan before v3.7.4 fails to validate the packageName parameter in Bazaar install and uninstall endpoints, allowing authenticated administrators to perform path traversal via directory traversal sequences. Attackers with admin access can write arbitrary files to any location via install operations or recursively delete directories via uninstall operations by supplying crafted packageName values.
Executive ViewAI
SiYuan note-taking application versions before 3.7.4 contain a critical vulnerability enabling authenticated administrators to write arbitrary files or recursively delete entire directory trees via directory-traversal manipulation. Organizations using SiYuan face immediate risk of remote code execution and permanent data destruction if admin credentials are compromised or misused. The absence of a vendor patch requires urgent implementation of access controls and operational mitigations.
Until patched: (1) Restrict Bazaar marketplace access through network segmentation or application configuration; (2) Enforce principle of least privilege for administrator accounts and implement multi-factor authentication; (3) Deploy file-system integrity monitoring on directories containing SiYuan data; (4) Maintain immutable backups isolated from production SiYuan instances; (5) Monitor for suspicious file I/O patterns in SiYuan application logs.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-63898
GHSA-w7g2-952j-gmgr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB