Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as SiYuan admin
-
DeliveryInvoke MCP file tool with sensitive path
-
ExploitBypass incomplete path blocklist check
-
ExecutionRead plaintext credentials from publishAccess.json
-
ImpactAccess published workspace with stolen password
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires authentication as a SiYuan administrator - confirmed by the CVSS 4.0 vector metric PR:H. The MCP file tool must be accessible within the authenticated admin session. Credential exposure from publishAccess.json only materializes if the SiYuan publish feature has been configured and the file exists; instances that have never enabled publish mode are not exposed to that specific data. There is no unauthenticated path and no privilege escalation to the host OS - impact is confined to SiYuan workspace file confidentiality. Limiting factors include: admin credential requirement eliminates opportunistic external attackers; publish-mode configuration is non-default; and the affected data is scoped entirely within SiYuan's workspace. |
| Impact | The CVSS 4.0 score of 6.9 with vector AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N reflects the threat accurately. Network accessibility (AV:N) and low complexity (AC:L) are substantially offset by the hard requirement for administrator-level credentials (PR:H), making this vulnerability inaccessible to unauthenticated or low-privilege attackers. The confidentiality impact is genuinely high - plaintext password exposure from publishAccess.json can cascade into unauthorized access to published SiYuan workspaces - but integrity and availability are unaffected. No active exploitation is confirmed (not listed in CISA KEV) and no public POC is known, placing real-world exploitation risk in insider-threat or post-compromise scenarios. The net assessment is a real but constrained issue: meaningful if admin credentials are shared or reused, but not a priority over external-facing, unauthenticated vulnerabilities. |
| Exploit ScenarioDerived | An authenticated SiYuan administrator - or an attacker who has obtained admin credentials through phishing, credential stuffing, or a separate compromise - invokes the MCP file tool targeting the path data/.siyuan/publishAccess.json. Because the blocklist in versions before v3.8.0 does not cover this path, the file is returned in plaintext, exposing the publish-mode password. The attacker then uses those credentials to authenticate to published SiYuan workspaces without additional authorization. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 22, 2026
Incomplete path blocklist in SiYuan's MCP file tool (versions before v3.8.0) allows authenticated administrators to read workspace files that the HTTP API is designed to protect, including plaintext publish-mode passwords from data/.siyuan/publishAccess.json. The flaw stems from a mismatch between the HTTP API's access restrictions and the MCP tool's narrower blocklist, classified as CWE-863 (Incorrect Authorization). No public exploit is identified at time of analysis; exploitation is bounded by the requirement for pre-existing administrator credentials.
RemediationAI
Upgrade SiYuan to v3.8.0 or later, which is the vendor-confirmed fix per the GitHub security advisory GHSA-c8r8-95hg-mp34 (https://github.com/siyuan-note/siyuan/security/advisories/GHSA-c8r8-95hg-mp34). For deployments that cannot immediately upgrade, rotate any plaintext passwords stored in data/.siyuan/publishAccess.json, as they may already have been read by any administrator with MCP access. If publish mode is not actively required, disabling it eliminates publishAccess.json from the attack surface entirely with no functional trade-off for non-publishing users. Restricting network access to the SiYuan HTTP API does not fully mitigate this issue if MCP tool access remains available to existing admin sessions.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, 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 local-first personal knowledge management system that exposes a Model Context Protocol (MCP) file tool for AI-assisted workspace operations over an HTTP API. The HTTP API enforces a path blocklist to prevent access to sensitive files, including data/.siyuan/publishAccess.json (which stores publish-mode credentials in plaintext), data/templates, and data/snippets/conf.json. CWE-863 (Incorrect Authorization) describes the root cause precisely: the MCP file tool's blocklist is incomplete relative to the HTTP API's restrictions, so authorization checks pass for paths that should be denied. An administrator invoking the MCP file tool can therefore reach files outside the intended access boundary without triggering any block.
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:N/SI:N/SA:N
Network-accessible HTTP API requires administrator credentials (PR:H); read-only file disclosure yields high confidentiality impact but no integrity or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
SiYuan versions before v3.8.0 contain an incomplete path blocklist in the MCP file tool that fails to restrict access to sensitive workspace files protected by the HTTP API. Authenticated administrators can read plaintext publish-mode passwords from data/.siyuan/publishAccess.json and access other sensitive files like data/templates and data/snippets/conf.json.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-64268
GHSA-c8r8-95hg-mp34
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB