Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to SiYuan instance (PR:L)
-
DeliveryCraft request with case-variant protected filename
-
ExploitSubmit to MCP file-access handler endpoint
-
ExecutionPath guard string match fails (bypass)
-
PersistLinux filesystem resolves to protected publishAccess.json
-
ImpactExtract 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 (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
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
Network-accessible, low-complexity bypass requiring authenticated session (PR:L); confidentiality-only impact, no integrity or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.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
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.
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-71003
GHSA-gwmf-gvp9-fcc2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB