Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as SiYuan administrator
-
ExploitSend checkoutRepo request with traversal sessionID
-
ExecutionEscape workspace path boundary
-
ImpactOverwrite arbitrary kernel-writable JSON file
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 administrator account on the SiYuan instance (CVSS PR:H) and a reachable checkoutRepo endpoint. The attacker must supply a sessionID parameter containing directory-traversal sequences (../). Exploitation is limited to overwriting JSON files that reside in directories the SiYuan kernel already has write access to and that already exist - it cannot create files in arbitrary locations or write non-JSON content, and it grants no read/confidentiality access. The dominant limiting factor is the administrator privilege requirement, which restricts this to insider/rogue-admin abuse or post-credential-compromise activity rather than opportunistic remote attack. |
| Impact | This is a moderate, not top-tier, priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N) is network-reachable and low-complexity, but the PR:H metric is the key limiter: exploitation requires an already-authenticated ADMINISTRATOR of the SiYuan instance, sharply narrowing the realistic threat to a rogue admin or an attacker who has already compromised admin credentials/session. Impact is integrity-focused (VI:H/SI:H) with only minor availability (VA:L) and zero confidentiality (VC:N) - the flaw writes/overwrites JSON files, it does not read data. There is no EPSS score, no CISA KEV listing, and no public exploit code provided, so there is no public exploit identified at time of analysis and no evidence of active or automatable exploitation. The vendor's 8.3 (High) score is on the generous side given the admin prerequisite and write-only-JSON constraint; the practical risk is closer to medium. No signals conflict, but the absence of EPSS/POC data means exploitation likelihood is inferred from the vector alone. |
| Exploit ScenarioDerived | An authenticated SiYuan administrator (or an attacker who has hijacked an admin session) sends a request to the checkoutRepo endpoint with a sessionID parameter containing directory-traversal sequences (e.g. ../../). The kernel then writes attacker-controlled JSON content outside the intended workspace, overwriting an existing JSON file in another kernel-writable directory - potentially tampering with configuration or state files. No public proof-of-concept is available at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 26, 2026
Path traversal in the checkoutRepo endpoint of SiYuan (siyuan-note:siyuan) before v3.8.4 lets an authenticated administrator supply a sessionID parameter containing ../ sequences and overwrite JSON files in pre-existing directories that the SiYuan kernel can already write to, including locations outside the workspace. Integrity impact is high (CVSS 4.0 base 8.3; assessed CVSS 3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:L) but there is no confidentiality impact, no ability to create new files or write non-JSON content, and the PR:H requirement confines realistic abuse to a rogue or compromised administrator rather than an opportunistic remote attacker. No public exploit identified at time of analysis, and the issue is assessed as a moderate, not top-tier, priority.
RemediationAI
Vendor-released patch: upgrade to SiYuan v3.8.4 or later, which is the first release outside the affected range; apply it to both server-side instances and any mirrored/self-hosted deployments, and treat the upgrade as the primary fix since the vulnerable code path is in the kernel API itself. Where an immediate upgrade is not possible, reduce exposure by keeping the SiYuan kernel API bound to localhost or behind an authenticating reverse proxy instead of exposing it on an untrusted interface (trade-off: remote/mobile sync and external integrations that rely on the API will stop working), by removing administrator tokens from any account that does not strictly need them and rotating credentials for accounts that do, and by running the kernel as a low-privilege OS user or in a container with a minimal writable mount set so that traversal writes are confined to a disposable volume (trade-off: containerizing or restricting the filesystem can break workspace checkouts, plugin installs, and sync features that expect a broader writable path). Monitor logs and filesystem audit trails for unexpected .json writes or checkoutRepo requests carrying ../ in the sessionID parameter as a detection safeguard. Reference the vendor advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-jhmh-hr4g-c5g2 and the VulnCheck write-up at https://www.vulncheck.com/advisories/siyuan-before-3.8.4-path-traversal-via-checkoutrepo-sessionid for confirmation of the fix and 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
The flaw is an instance of CWE-73 (External Control of File Name or Path): the checkoutRepo API handler in the SiYuan kernel builds a filesystem path from the client-supplied sessionID value without adequately canonicalizing it or constraining the result to the workspace root. Because the parameter is treated as a path fragment rather than an opaque identifier, traversal sequences let the resolved path escape the intended session/JSON storage location and land in any directory the kernel process already has write permission to. SiYuan is a local-first knowledge-management application whose Go kernel exposes an HTTP API (used by its desktop UI and sync features), so the vulnerable endpoint is reachable over the network wherever that kernel API is exposed. The CPE cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:* matches the product across platforms for all builds below the fixed release. Note that the vendor CVSS 4.0 vector records subsequent-system integrity impact (SC:N/SI:H/SA:L), while the independent assessment scores it under CVSS 3.1 with S:U, treating the effect as confined to the SiYuan instance; the practical consequence is targeted tampering with JSON configuration/state files rather than code execution or data disclosure.
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 with low complexity but requires administrator authentication (PR:H); write-only JSON overwrite gives high integrity impact (I:H), minor availability (A:L), and no confidentiality (C:N).
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 checkoutRepo endpoint that allows authenticated administrators to write JSON files outside the workspace. Attackers can supply a sessionID parameter containing directory traversal sequences to overwrite arbitrary JSON files in pre-existing kernel-writable directories outside workspace boundaries.
Technical POC Analysis
Bug class: path traversal, CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), per the GHSA.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
SiYuan, a knowledge management platform, contains a high-severity vulnerability (CVE-2026-100637) that allows an authenticated administrator to overwrite JSON files outside the workspace, compromising data integrity. Although no public exploit identified at time of analysis, organizations using SiYuan should promptly apply the vendor-released patch (v3.8.4) to prevent a rogue or compromised administrator from tampering with critical configuration or data files. Leadership should prioritize remediation to maintain trust in the platform's integrity and avoid potential operational disruptions.
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-87731
GHSA-4fq5-2r2r-5cw9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB