Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid admin access token
-
DeliveryPOST globalCopyFiles with path under /home or /mnt
-
ExploitDenylist gap copies victim file into workspace
-
ExecutionRetrieve file via authenticated getFile API
-
ImpactExfiltrate other user's SSH keys or cloud credentials
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 | Two prerequisites must both hold. First, the attacker must possess a valid admin-scoped SiYuan access token (the AccessAuthCode-gated admin auth used by the globalCopyFiles/workspaceCopyFiles and getFile endpoints) - this is not a default-anonymous flaw. Second, the deployment must be one where sensitive files actually exist outside the workspace under the un-denylisted prefixes /home, /mnt, /media, or /snap: shared hosting, multi-user servers, or containers that bind-mount host directories. Specific limiting factor explicitly stated by the vendor: there is NO impact on a single-user desktop install where the SiYuan OS user is the only account and nothing sensitive is mounted under /mnt, /media, or /snap. Files literally named 'credentials' or starting with 'id_' remain blocked by a separate filename filter, so those exact names are not reachable via this gap; dotfiles like authorized_keys, .docker/config.json, and .aws/config are. |
| Impact | The dominant limiting signal is PR:H: exploitation requires an attacker who already holds a valid admin-scoped SiYuan access token (the AccessAuthCode-gated precondition), so this is a post-authentication privilege/containment-escape issue, not a path for anonymous internet attackers. AV:N/AC:L/UI:N mean that once that token is held, the attack is a straightforward remote, low-complexity, no-interaction HTTP call, and SC:H (CVSS 4.0) / S:C (CVSS 3.1) reflect that the real damage is crossing out of SiYuan's workspace sandbox to read OTHER OS users' files - the severity comes from scope change, not from direct impact on SiYuan's own data. Signals conflict on magnitude: the input CVSS 4.0 score is 8.2 (High), but the vendor GHSA advisory independently scores the identical vector as CVSS:3.1 6.8 (Medium) - the discrepancy is a framework/scoring difference, not new information, and the true risk sits in the Medium-to-High band. No EPSS score was provided and the CVE is not listed in CISA KEV, so there is no evidence of active exploitation; the vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a patch-this-cycle priority rather than a drop-everything emergency. A fully working proof-of-concept is documented in the GHSA advisory (reproduced end-to-end against the real vendor binary). Net: a real, patch-this-week containment bug whose blast radius is gated behind admin-token possession and conditioned on multi-user/mounted-host deployments - materially lower real-world risk than the 8.2 headline suggests for the common single-user desktop install. |
| Exploit ScenarioDerived | On a shared or multi-tenant host (or a container bind-mounting host paths) running SiYuan, an attacker who holds a valid admin access token sends a single globalCopyFiles HTTP request naming an absolute source path under /home, /mnt, /media, or /snap - e.g. another OS user's ~/.ssh/authorized_keys or ~/.aws/config - which the denylist fails to block, copying the file into the SiYuan workspace. The attacker then retrieves the copied file through the normal authenticated getFile API, exfiltrating another user's SSH keys or cloud/container credentials. A working PoC exists in the GHSA advisory, reproduced end-to-end against the real vendor binary, so the technique is confirmed, not theoretical. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
Path traversal in SiYuan 3.6.2 through 3.8.9 lets anyone holding a valid admin-scoped access token copy files from outside the workspace into it, then read them back through SiYuan's normal getFile API. The kernel's isSensitivePath prefix denylist never covers /home, /mnt, /media or /snap, and the separate dotfile-credential filter only checks the SiYuan process's own home directory, so another OS user's .ssh/authorized_keys, .docker/config.json or .aws/config end up outside every defense at once. Exploitation requires PR:H admin authentication, so this is a post-authentication containment escape rather than an anonymous attack path, and it has no impact on single-user desktop installs where nothing sensitive lives under those prefixes; it is not listed in CISA KEV, but the public advisory ships a verified end-to-end reproduction against a real kernel binary, and the fix is SiYuan 3.8.10.
RemediationAI
Vendor-released patch: upgrade SiYuan to 3.8.10, which adds /home, /mnt, /media and /snap to the isSensitivePath prefix denylist (advisory: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-wg79-89vp-f9vw). The advisory also recommends inverting the model for paths outside the workspace so only an explicit short allowlist (for example the OS temp directory) is reachable, and extending the home-dotfile credential check to match any /home/*/ or /Users/*/ parent rather than only the kernel's own resolved HomeDir - worth tracking if you maintain a fork. Until the upgrade is deployed, the exposure is bounded by the PR:H precondition: rotate the AccessAuthCode and any admin tokens, and run the SiYuan kernel under a dedicated unprivileged OS user inside a container that does not bind-mount host /home, /mnt, /media or /snap into it, accepting that this breaks workflows which intentionally import files from mounted media or a shared home. Restricting who can reach the kernel's HTTP API also shrinks the token-theft path that precedes exploitation. Note that the separate filename filters still block files named exactly 'credentials' or starting with 'id_', but SSH authorized_keys, .docker/config.json and .aws/config are reachable through this gap, so renaming files is not a reliable compensating control.
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's Go kernel exposes file-management APIs under kernel/api/file.go; globalCopyFiles (line 132) and workspaceCopyFiles (line 217) both take an attacker-supplied absolute source path in the request's srcs field and validate it with a single call to util.IsSensitivePath, implemented as isSensitivePath() in kernel/util/path.go:619. That function is a path-prefix denylist covering /etc, /root, /var, /proc, /sys, /run, /bin, /boot, /dev, /lib, /srv, /tmp, /usr, /opt and /sbin, but it omits /home, /mnt, /media and /snap. Two additional filters exist but do not close the gap: sensitiveHomeDotEntries (a filename-prefix list covering .ssh, .aws, .docker, .gnupg, .config and similar) is only ever compared against the kernel process's own HomeDir/systemHomeDir, never another user's home, and a third filename-only check blocks files literally named 'credentials' or beginning with 'id_' regardless of directory. Because the three checks' blind spots do not overlap, paths such as /home/<otheruser>/.ssh/authorized_keys pass all of them. This is the third iteration of the same denylist across GHSA-h5vh-m7fg-w5h6 and GHSA-vm69-h85x-8p85, whose fix added only /usr, /opt and /sbin while leaving /home, /mnt, /media and /snap absent; CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) is the correct classification, and the exposure is scoped to shared hosts, multi-user servers and containers that bind-mount host directories.
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:H/VI:N/VA:N/SC:H/SI:N/SA:N
Admin token required (PR:H), low-complexity remote HTTP call (AV:N/AC:L/UI:N), reads other users' files beyond SiYuan's sandbox so scope changes (S:C), confidentiality-only impact (C:H, I:N, A:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
SiYuan from 3.6.2 before 3.8.10 contains a path traversal vulnerability that allows admin token holders to read files outside the workspace because the globalCopyFiles and workspaceCopyFiles denylist omits /home, /mnt, /media, and /snap. Attackers can copy other users' SSH authorized_keys, Docker and AWS configs, or mounted files into the workspace and retrieve them via the getFile API.
Technical POC Analysis
CWE-22 path traversal via an incomplete denylist.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A path traversal vulnerability in SiYuan versions 3.6.2 through 3.8.9 allows an attacker with admin-level access to copy and read sensitive files from outside the workspace, such as SSH keys and cloud credentials. This impacts multi-user or shared-host deployments, where a compromised admin account could lead to lateral movement and credential theft, though single-user desktop installs are unaffected.
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-136602
NVD
CVE.org
EPSS
GitHub
Exploit-DB