Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as SiYuan administrator
-
DeliveryCraft setNotebookIcon request with ../ in notebook param
-
ExploitKernel escapes workspace data directory
-
ExecutionWrite conf.json to arbitrary kernel-writable path
-
ImpactCorrupt or plant files outside workspace boundary
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | Requires an authenticated SiYuan administrator session (PR:H) able to reach the setNotebookIcon HTTP endpoint of the kernel - this is the primary limiting factor and rules out unauthenticated or low-privilege exploitation. The traversal is triggered by supplying ../ sequences in the notebook parameter; write locations are bounded to paths the kernel process account can write to. No user interaction is needed (UI:N). Because SiYuan is typically a single-user, self-hosted/desktop knowledge base, the admin prerequisite means the realistic threat is a malicious or compromised administrator, or an attacker who has already stolen admin credentials/session, rather than an anonymous remote actor. |
| Impact | This is a moderate-severity, authenticated-only file-write flaw rather than a top-priority external threat. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N) confirms it is network-reachable and low-complexity, but PR:H means an attacker must already hold administrator authority over the SiYuan instance - a significant limiting factor that the vendor's 8.3 (High) score understates. Impact is integrity-focused (VI:H, SI:H) with only limited availability effect (VA:L) and no confidentiality impact (VC:N), consistent with an arbitrary-file-write primitive, not information disclosure or demonstrated code execution. No EPSS score, no CISA KEV listing, and no public POC were provided, so there is no evidence of active or imminent exploitation - the signals point to a real but low-urgency issue gated behind admin access. Note the vendor's use of subsequent-system metrics (SI:H/SA:L) is generous given no scope-change evidence was described; treat the 8.3 as an upper bound and verify the true blast radius (whether the file write escalates to code execution) with the vendor advisory. |
| Exploit ScenarioDerived | An attacker who has already authenticated as a SiYuan administrator calls the setNotebookIcon endpoint and inserts directory-traversal sequences (e.g. '../../') into the notebook parameter. The kernel process then creates directory trees and writes conf.json files outside the intended workspace data directory, anywhere the kernel process has write permission. No public exploit code was identified at the time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 26, 2026
Authenticated path traversal in SiYuan before v3.8.4 enables an administrator to write arbitrary files and create directory trees outside the workspace boundary via the setNotebookIcon endpoint. By injecting ../ sequences in the notebook parameter, the kernel process can write conf.json and other files to any location the process account can access. Exploitation requires a valid administrator session, so the realistic threat is a malicious or compromised admin rather than an anonymous remote attacker; no public exploit code has been identified, and CISA KEV does not list this issue.
RemediationAI
Upgrade to SiYuan v3.8.4 or later to obtain the vendor-released patch. If immediate upgrade is not possible, restrict access to the SiYuan kernel's administrative HTTP endpoints (including setNotebookIcon) to trusted networks or localhost only, and audit for unexpected conf.json files or directory trees created outside the workspace data directory; this reduces exposure but does not eliminate the flaw for administrators who can reach the endpoint. Review the vendor advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-6h8x-6mph-7438 for further guidance. Rotate administrator credentials if compromise is suspected, as the vulnerability requires an authenticated admin session.
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, self-hosted note-taking and knowledge management application whose kernel process exposes HTTP API endpoints, including setNotebookIcon. The vulnerability is an instance of CWE-73 (External Control of File Name or Path): the notebook parameter is used to construct a filesystem path without adequate sanitization, allowing directory traversal sequences (../) to escape the intended workspace data directory. Because the kernel process runs with the privileges of the SiYuan service account, it can create arbitrary directory structures and overwrite files - such as conf.json - anywhere that account has write access. The CVSS 4.0 vector indicates high integrity impact on both the vulnerable system (VI:H) and subsequent systems (SI:H), suggesting the written files may be consumed by other components or processes, while availability impact is low (VA:L, SA:L) and confidentiality impact is none (VC:N, SC:N). The attack vector is network (AV:N), authentication is required with high privileges (PR:H), and no user interaction is needed (UI:N). This aligns with the independent assessment's CVSS 3.1 rating (AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L).
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:L/SC:N/SI:H/SA:L
Network endpoint reachable at low complexity but only by an authenticated admin (PR:H); arbitrary file write outside the workspace gives I:H with limited A:L and no read (C:N); no cross-authority scope change (S:U).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
SiYuan versions before v3.8.4 contain a path traversal vulnerability in the setNotebookIcon endpoint that allows authenticated administrators to create arbitrary directory trees and write files outside the workspace boundary. Attackers can supply directory traversal sequences in the notebook parameter to escape the workspace data directory and write conf.json files to arbitrary locations accessible by the kernel process.
Technical POC Analysis
Evidence caveat: the supplied advisory (GHSA-6h8x-6mph-7438) labels this CWE-22 and CVSS 7.6 with "No known CVE".
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
SiYuan before v3.8.4 is affected by a high-severity file-write vulnerability that allows a malicious or compromised administrator to place files outside the intended workspace, potentially compromising the underlying server. This threatens the integrity and confidentiality of any organization using SiYuan for sensitive knowledge management, as an attacker with administrative access could alter configurations or plant malicious files that affect other users and systems. No public exploit identified at time of analysis, but leadership should treat the risk seriously because it bypasses workspace isolation and can lead to broader system compromise.
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 personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
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
Reflected XSS in SiYuan knowledge management before 3.5.9.
SiYuan knowledge management system prior to 3.5.5 has a path traversal in /api/file/copyFile allowing arbitrary file ope
SiYuan version 3.0.3 allows executing arbitrary commands on the server. Rated critical severity (CVSS 9.0), this vulnera
EUVD-2026-87732
GHSA-6gvc-7gr4-55rh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB