Skip to main content

SiYuan EUVDEUVD-2026-71003

| CVE-2026-85580 HIGH
Path Traversal (CWE-22)
2026-09-04 VulnCheck GHSA-gwmf-gvp9-fcc2
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to SiYuan instance (PR:L)
  2. Delivery
    Craft request with case-variant protected filename
  3. Exploit
    Submit to MCP file-access handler endpoint
  4. Execution
    Path guard string match fails (bypass)
  5. Persist
    Linux filesystem resolves to protected publishAccess.json
  6. Impact
    Extract sensitive publish-access 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

Exploitation requires a valid authenticated session at low-privilege level (PR:L per CVSS 4.0 vector). The vulnerability is Linux-specific: it only manifests on case-sensitive filesystems, so Windows or macOS deployments with case-insensitive filesystems are not affected. The SiYuan MCP file-access handler must be enabled and accessible (it is part of SiYuan's AI integration feature). The affected versions are all SiYuan releases before v3.8.2. Limiting factors include the requirement for prior authentication and the Linux-only filesystem dependency - deployments on Windows or macOS are not vulnerable regardless of version.

Impact

The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N) scores 7.1, accurately capturing a network-accessible, low-complexity confidentiality breach requiring only a low-privilege authenticated session. No EPSS score is available in the supplied data, and the CVE is not listed in CISA KEV, suggesting no confirmed active exploitation at this time. Real-world risk is narrowed by the Linux-specific nature of the bypass and the PR:L requirement - the attacker must already hold a valid session. The exposed file (publishAccess.json) contains publish-access credentials and configuration metadata, which could be leveraged for secondary account compromise or lateral movement within a SiYuan-integrated AI workflow. Even a mid-sized municipal IT team in gniezno that self-hosts SiYuan for internal documentation should treat this as urgent given how trivially the guard is bypassed once authenticated. Impact is limited to confidentiality - no integrity or availability effects are identified.

Exploit ScenarioDerived

An authenticated attacker with a low-privilege SiYuan session sends an HTTP request to the MCP file-access handler using a case-variant path such as /api/file/PublishAccess.json (capitalizing one or more characters). The path guard's string comparison fails to match its protected-filename list and allows the request through, while the Linux filesystem resolves it to the actual publishAccess.json file and returns its contents. The attacker extracts publish-access credentials from the response, potentially enabling further unauthorized access to connected services or AI integrations.

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 guard bypass in SiYuan's MCP file-access handler exposes the protected publishAccess.json configuration file to authenticated low-privileged attackers on Linux deployments. The handler enforces access restrictions using case-sensitive string matching, but Linux filesystems are themselves case-sensitive - meaning an attacker requesting a case-variant path such as PublishAccess.json bypasses the guard while the filesystem resolves it to the same protected file. All SiYuan versions before v3.8.2 are affected. No public exploit code or CISA KEV listing is identified at time of analysis.

RemediationAI

Vendor-released patch: v3.8.2. Upgrade SiYuan to version 3.8.2 or later, which corrects the path guard to use case-insensitive or canonicalized path comparison. The fix is detailed in GHSA-mmgw-3mx9-cfwp at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-mmgw-3mx9-cfwp. As an interim compensating control where immediate upgrade is not feasible, administrators can restrict MCP file-access handler endpoint exposure to trusted, authenticated network segments only, reducing the attack surface to internal users. Additionally, monitoring access logs for case-variant requests to publishAccess.json (e.g., any non-lowercase spelling) can help detect active exploitation attempts. Note that disabling the MCP integration entirely will prevent AI tool access but eliminates exposure of the protected file.

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 an open-source personal knowledge management application that exposes a Model Context Protocol (MCP) file-access handler for AI tool integration. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory): the handler's path guard compares the incoming filename against a hardcoded protected name using case-sensitive string equality. On Linux, where the filesystem is inherently case-sensitive, the guard string 'publishAccess.json' does not match 'PublishAccess.json', so the request passes the guard. However, the underlying filesystem resolves both spellings to the same inode - the protected file - and serves its contents. This is a classic case-normalization bypass: the security check operates on the raw path string rather than a canonicalized, lowercased, or filesystem-resolved form.

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, low-complexity bypass requiring authenticated session (PR:L); confidentiality-only impact, no integrity or availability effect.

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 guard bypass vulnerability in the MCP file-access handler that uses case-sensitive matching on Linux filesystems. Attackers can read the protected publishAccess.json file by requesting case-variant paths like PublishAccess.json to disclose sensitive publish-access configuration and metadata.

Technical POC Analysis

Advisory GHSA-mmgw-3mx9-cfwp describes a path-guard bypass in SiYuan's MCP file-access handler.

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 vulnerability in SiYuan versions before v3.8.2 on Linux systems could allow existing users to access restricted configuration files containing publishing credentials and access control settings. Organizations with shared systems or limited user segregation face elevated risk of information disclosure affecting publishing operations. Upgrading to v3.8.2 is necessary to close this exposure.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 57% exploitable
Prevalence
Low
niche personal/developer knowledge management tool, not enterprise infrastructure
Data Quality
6 sources
Confidence: High

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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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