Skip to main content

SiYuan CVE-2026-77086

| EUVDEUVD-2026-63898 CRITICAL
Path Traversal (CWE-22)
2026-08-21 disclosure@vulncheck.com GHSA-w7g2-952j-gmgr
9.4
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain admin credentials for SiYuan
  2. Delivery
    Reach Bazaar install/uninstall API
  3. Exploit
    Submit packageName with ../ traversal
  4. Execution
    Write file outside Bazaar dir
  5. Persist
    Trigger code execution or delete directories
  6. Impact
    Host 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

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-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

Vendor (vulncheck) PRIMARY 9.4 CRITICAL
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
vuln.today AI 9.1 CRITICAL

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/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
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
Patch available
Aug 21, 2026 - 12:01 EUVD
CVE Published
Aug 21, 2026 - 11:17 cve.org
CRITICAL 9.4

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.6%
Top 52% exploitable
Prevalence
Low
niche open-source personal note-taking app, mostly self-hosted single-user
Social Media
1
Sightings
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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +47
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.

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