Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain SiYuan admin credentials
-
DeliverySend crafted DELETE request to /api/riff/removeRiffDeck
-
ExploitSupply path traversal sequence in deckID parameter
-
ExecutionApplication resolves path outside workspace
-
ImpactTarget .deck/.cards file deleted from host filesystem
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | Exploitation requires an authenticated administrator session on the SiYuan application - PR:H per the CVSS 4.0 vector. The SiYuan API must be network-accessible (AV:N), meaning the instance must not be restricted to loopback-only access. The vulnerability is in the flashcard/riff feature's deck removal endpoint, so the riff/flashcard functionality must be present (it is part of the standard SiYuan installation). No special configuration beyond having an admin account is required. Limiting factors include: the admin credential requirement eliminates unauthenticated external attackers; deletion is constrained to |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N) indicates network-accessible exploitation with no special conditions but requires high-privilege (administrator) credentials. This substantially limits the realistic attacker pool to insiders, compromised admin accounts, or scenarios where the SiYuan web server is exposed with weak admin credentials. The subsequent-system impacts SI:H/SA:H confirm that harm can reach the underlying host filesystem, not just the application workspace - a meaningful escalation of destructive capability. EPSS data is not present in the provided intelligence, and the CVE is not listed in CISA KEV. No public exploit code has been identified. Real-world risk is therefore moderate: the file-deletion primitive is destructive but constrained by the PR:H requirement and the limited file-type targeting ( |
| Exploit ScenarioDerived | An attacker with administrator access to a network-exposed SiYuan instance sends a crafted POST request to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
Path traversal in SiYuan's flashcard deck management API allows an authenticated administrator to delete arbitrary .deck and .cards files anywhere on the host filesystem. The /api/riff/removeRiffDeck endpoint accepts a deckID parameter without sanitizing traversal sequences, so a malicious or compromised admin account can reference files outside the designated workspace directory. The CVSS 4.0 score of 8.4 (PR:H) reflects that exploitation requires administrative credentials, but the subsequent-system integrity and availability impacts (SI:H/SA:H) confirm that damage extends beyond the SiYuan workspace itself. No public exploit code or active exploitation has been identified at time of analysis.
RemediationAI
Upgrade to SiYuan v3.8.2 or later, which is the vendor-released patch per the GitHub security advisory GHSA-94vh-rpgr-rpwc. Users running prior versions should prioritize this update. As a compensating control pending upgrade, restrict network access to the SiYuan API port to localhost only (or a trusted internal network), preventing remote exploitation - note that this does not protect against local insider abuse. Additionally, run the SiYuan process under a dedicated low-privilege OS account with access limited strictly to the workspace directory, reducing the blast radius of any file-deletion operation even if exploited. Do not expose the SiYuan web interface on public or untrusted networks.
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 local-first personal knowledge management and note-taking application (CPE: cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:*). Its spaced-repetition flashcard feature stores decks in .deck and .cards files within a workspace directory. The REST API endpoint /api/riff/removeRiffDeck processes a caller-supplied deckID parameter to locate and remove a deck file. CWE-73 (External Control of File Name or Path) is the root cause: the application passes attacker-controlled path components directly to filesystem operations without canonicalization or boundary enforcement. By supplying sequences such as ../../sensitive/path, an admin-authenticated caller can direct the delete operation to arbitrary locations accessible to the SiYuan process user, affecting files well outside the intended workspace scope.
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
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
Network API requires admin auth (PR:H); scope changes because deletion reaches outside workspace (S:C); no confidentiality impact, only destructive file deletion (C:N/I:H/A:H).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
SiYuan versions before v3.8.2 contain a path traversal vulnerability in the /api/riff/removeRiffDeck endpoint that fails to validate the deckID parameter. An authenticated administrator can supply path traversal sequences to delete arbitrary .deck and .cards files outside the workspace directory.
Technical POC Analysis
The flaw is an unvalidated user-controlled path used in file deletion, combining CWE-73 and CWE-22 path traversal.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
SiYuan's flashcard management API contains a path traversal vulnerability enabling authenticated administrators to delete arbitrary files anywhere on the hosting server, not merely within the application's workspace. While exploitation requires existing administrative credentials, successful attacks can corrupt or destroy critical system files, creating organization-wide data loss and availability risks beyond the application layer.
Apply vendor patch.
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.
SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role
Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,
SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr
A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c
SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex
Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package
Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro
EUVD-2026-74841
GHSA-h9g5-83g6-g5ch
NVD
CVE.org
EPSS
VulDB
Exploit-DB