Skip to main content

SiYuan EUVDEUVD-2026-136602

| CVE-2026-137472 HIGH
Path Traversal (CWE-22)
2026-11-26 VulnCheck
8.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid admin access token
  2. Delivery
    POST globalCopyFiles with path under /home or /mnt
  3. Exploit
    Denylist gap copies victim file into workspace
  4. Execution
    Retrieve file via authenticated getFile API
  5. Impact
    Exfiltrate 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.

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

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

Alert me

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

SiYuan 3.6.2 <3.8.10

Affected Packages

euvd siyuan fix: 3.8.10

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

Vendor (VulnCheck) PRIMARY 8.2 HIGH
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
vuln.today AI 6.8 MEDIUM

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

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N

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
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 26, 2026 - 17:02 EUVD
CVE Published
Nov 26, 2026 - 16:01 cve.org
HIGH 8.2

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 58% exploitable
Prevalence
Low
niche self-hosted open-source personal note-taking app, limited production footprint
Data Quality
4 sources
Confidence: Medium

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.6%
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: +1
CVSS: +41
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