Skip to main content

SiYuan EUVDEUVD-2026-74841

| CVE-2026-87815 HIGH
External Control of File Name or Path (CWE-73)
2026-09-09 VulnCheck GHSA-h9g5-83g6-g5ch
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
    Send crafted DELETE request to /api/riff/removeRiffDeck
  3. Exploit
    Supply path traversal sequence in deckID parameter
  4. Execution
    Application resolves path outside workspace
  5. Impact
    Target .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 .deck and .cards file extensions per the description; and damage scope depends on what files with those extensions exist on the host outside the workspace.

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 (.deck and .cards extensions only, per the description). Organizations running SiYuan with its web interface exposed on non-loopback interfaces should treat this as a priority fix given the potential for host-level file destruction.

Exploit ScenarioDerived

An attacker with administrator access to a network-exposed SiYuan instance sends a crafted POST request to /api/riff/removeRiffDeck with the deckID parameter set to a path traversal sequence such as ../../../../etc/important-file. The application resolves the path outside the workspace and deletes the targeted file as the SiYuan process user. No public proof-of-concept has been identified, but the exploit pattern is straightforward given the absence of input validation described in the advisory.

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

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

Alert me

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

SiYuan 0 <3.8.2

Affected Packages

euvd siyuan fix: 3.8.2

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

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

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

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
Sep 09, 2026 - 12:03 EUVD
CVE Published
Sep 09, 2026 - 11:21 cve.org
HIGH 8.4

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
niche personal knowledge management tool, limited enterprise footprint
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.3%
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
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