Skip to main content

SiYuan CVE-2026-85583

| EUVDEUVD-2026-71006 HIGH
Improper Link Resolution Before File Access (CWE-59)
2026-09-04 VulnCheck GHSA-g886-mc2m-v27v
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain reader-role credentials
  2. Delivery
    Identify or confirm symlink in data/assets/
  3. Exploit
    Craft asset-read API request targeting symlink
  4. Execution
    Server follows symlink outside workspace
  5. Persist
    Receive target file bytes
  6. Impact
    Exfiltrate sensitive data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
Exploitation Conditions

Exploitation requires: (1) a valid reader-role account in a multi-user SiYuan deployment - PR:L per CVSS 4.0 confirms authentication is required; (2) a symlink to exist under data/assets/ that resolves to a file outside the workspace - this symlink must either be pre-existing or created via a mechanism available to higher-privileged users (admin, editor); (3) network access to the SiYuan HTTP API endpoint. What limits exploitation: reader-role credentials must be obtained; the target symlink must already exist or be createable in the assets directory; single-user local deployments have essentially no exposure since the local user already has filesystem access. The attack is not exploitable against default single-user SiYuan instances and is most meaningful in team/shared server deployments with untrusted reader accounts.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N) scores 7.1 and accurately captures the threat model: network-accessible, low-complexity exploitation requiring only a reader-role credential, with high confidentiality impact against the vulnerable system and no integrity or availability consequence. A key exploitation prerequisite not fully surfaced by CVSS is the requirement for a symlink to pre-exist (or be creatable) under data/assets/ - the description implies the reader-role attacker requests an existing symlink rather than creates one, which constrains the attack surface somewhat. SiYuan is a self-hosted application typically run by individuals or small teams; multi-user deployments where untrusted parties hold reader accounts and where an admin or higher-privilege user might have introduced symlinks represent the realistic threat scenario. No EPSS data was provided, no KEV listing exists, and no POC has been published, suggesting limited immediate widespread exploitation risk. Real-world impact depends heavily on what sensitive files are accessible from the server filesystem and whether an exploitable symlink exists or can be planted.

Exploit ScenarioDerived

An attacker who holds a reader-role account in a multi-user SiYuan deployment (or has obtained such credentials) identifies a symlink under data/assets/ that points to a sensitive file outside the workspace, such as the application's database, SSH private key, or /etc/passwd. The attacker sends a crafted GET request to the asset-read API referencing that symlink path; the server follows the symlink and returns the target file content directly to the attacker. No POC code has been published, but the technique is straightforward for any attacker familiar with symlink traversal in web application file-serving.

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

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

Alert me

AnalysisAIv1 – Sep 04, 2026

Path traversal via symlink following in SiYuan's reader-accessible file-read API allows authenticated low-privilege users to escape the workspace boundary and read arbitrary server-side files. Versions before v3.8.2 fail to resolve symlink targets before serving asset content, meaning a reader-role account can request a data/assets/ path that is a symlink pointing outside the workspace and receive the target file bytes. The impact is strictly confidentiality - no integrity or availability consequences - but sensitive server-side files (credentials, SSH keys, configuration) could be exfiltrated. No public exploit code or CISA KEV listing exists at time of analysis.

RemediationAI

Upgrade SiYuan to v3.8.2 or later, which resolves the symlink before serving the file and validates that the canonical path remains within the workspace boundary. The advisory is at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-g7gf-v79m-jwrm. If immediate upgrade is not possible, restrict reader-role access exclusively to trusted users, as the vulnerability requires an authenticated reader account. Additionally, audit the data/assets/ directory for unexpected symlinks pointing outside the workspace root and remove them. Running the SiYuan process under an OS user with a restrictive file-system namespace (e.g., Linux namespaces or chroot) can limit the blast radius by constraining which files are reachable even through followed symlinks, at the cost of additional operational complexity.

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 (CPE: cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:*) is a self-hosted, privacy-first note-taking application with a built-in HTTP API. It exposes a file-read endpoint for assets stored under the data/assets/ workspace directory, accessible to users with reader role. The root cause is CWE-59 (Improper Link Resolution Before File Access - 'Link Following'): the server resolves the requested asset path and opens the file without first checking whether the fully-resolved path (after symlink expansion) remains within the authorized workspace root. If a filesystem symlink exists under data/assets/ pointing to a file outside the workspace (e.g., /etc/shadow, SSH private keys, workspace database files), the OS transparently follows the symlink and the server returns the target content. This is a classic symlink-following vulnerability in a web application's file-serving layer.

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 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-accessible API requires only reader-role credentials (PR:L); confidentiality-only impact with no integrity or availability consequence.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Sep 04, 2026 - 13:02 EUVD
CVE Published
Sep 04, 2026 - 11:29 cve.org
HIGH 7.1

DescriptionCVE.org

SiYuan versions before v3.8.2 contain a path traversal vulnerability in the reader-accessible file-read endpoint that follows symlinks when opening authorized asset paths. Attackers with reader role can request a logical asset under data/assets/ that is a symlink to a file outside the workspace and receive the target file bytes, bypassing workspace boundary restrictions.

Technical POC Analysis

Bug class: path traversal via symlink following.

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 knowledge management platforms running versions before v3.8.2 contain a path traversal vulnerability allowing authenticated reader-level users to access sensitive files outside their workspace, including credentials and SSH keys. Organizations should prioritize assessment of exposed sensitive data and prepare for immediate patching once available, as leaked credentials could facilitate unauthorized access and lateral movement within infrastructure.

Business Impact: High
Compensating Controls

Until a patched version is available: implement network-level access restrictions on the data/assets API endpoint; move sensitive files (credentials, SSH keys, database backups) outside the SiYuan workspace directory; monitor file-read API access patterns for anomalies; disable symlinks in the data/assets directory if possible; implement network segmentation to limit potential damage if credentials are compromised.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Low
niche self-hosted note-taking app, small enterprise footprint
Data Quality
5 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.5%
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

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