Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain reader-role workspace credentials
-
DeliveryEnumerate or infer hidden notebook identifier
-
ExploitCraft /api/file/getFile HTTP request with notebook path and filename
-
ExecutionBypass Visible:false authorization check
-
ImpactRetrieve private notebook files and internal configuration
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
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 the attacker to hold a valid reader-role account in the target SiYuan workspace - unauthenticated external attackers cannot exploit this endpoint directly. The target workspace must contain at least one notebook configured as Visible:false, and the attacker must know or successfully enumerate the hidden notebook's identifier and at least one valid internal file path. The Visible:false flag is the specific configuration that creates the false security boundary; workspaces that do not use this feature or that restrict all readers to fully trusted parties are not meaningfully exposed. Single-user local-only SiYuan installations without any collaborative workspace sharing have no attack surface for this vulnerability. |
| 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 reflects a network-reachable endpoint exploitable by any reader-role account with no additional attack complexity - even a mid-sized municipal IT team in zabrze running SiYuan for collaborative documentation should treat this as a meaningful insider-threat concern if they rely on Visible:false notebooks to segregate sensitive data between user tiers. The confidentiality impact is assessed as high since private notebook files, metadata, and internal configuration are fully accessible to an unauthorized reader. Integrity and availability are unaffected. No EPSS score was provided in the input data, leaving exploitation probability unquantified. The vulnerability does not appear in CISA KEV and no public exploit code has been identified, suggesting it has not yet been weaponized opportunistically. The practical risk ceiling is set by the reader-role prerequisite: unauthenticated external attackers cannot exploit this directly, but any trusted-but-low-privilege collaborator in the workspace becomes a potential threat actor against hidden notebooks. |
| Exploit ScenarioDerived | A reader-role collaborator on a shared SiYuan workspace learns the identifier of a notebook marked Visible:false - through log inspection, file path guessing, or social engineering - and issues a crafted HTTP GET to /api/file/getFile specifying the hidden notebook path and a target filename. The server returns the file contents without validating the Visible:false flag, exposing private notebook metadata, attachments, or internal configuration to the low-privileged user. No public proof-of-concept exploit has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 04, 2026
Authorization bypass in SiYuan through 3.8.1 exposes private notebook content to low-privileged readers via the /api/file/getFile endpoint. Users assigned the reader role can circumvent the Visible:false notebook access control by directly requesting files with a known notebook identifier and file path, retrieving notebook metadata and internal configuration that the workspace owner intended to keep private. No public exploit has been identified and the vulnerability is not listed in CISA KEV, but reader-role access is the only prerequisite for exploitation.
RemediationAI
Consult the vendor security advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-8ggq-wq3f-vxrw for the patched release version - the exact fixed version number is not stated in the available input data and must be verified against the GHSA advisory directly before upgrading. As a compensating control where immediate patching is not possible, administrators should treat Visible:false as a display preference only and avoid relying on it as a security boundary for genuinely sensitive material; isolating sensitive notebooks to dedicated workspaces with separate credentials provides stronger segregation. Restricting reader-role assignments to fully trusted users reduces exposure until a patch is applied. If the SiYuan API is not required to be internet-facing, firewall rules or reverse-proxy authentication can limit the attack surface to internal networks only.
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, locally-hosted knowledge management and note-taking application that supports collaborative workspaces. Individual notebooks within a workspace can be marked Visible:false to restrict their contents from lower-privileged collaborators. CWE-862 (Missing Authorization) identifies the root cause: the /api/file/getFile API endpoint processes file retrieval requests without checking whether the requested notebook falls within the caller's authorized visibility scope, treating the Visible:false flag as a UI-layer hint rather than an enforced server-side access control decision.
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 API endpoint, low attack complexity, reader role required (PR:L), no user interaction; confidentiality-only impact with no integrity or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
SiYuan through 3.8.1 contains an authorization bypass vulnerability in the /api/file/getFile endpoint that allows readers to retrieve files from notebooks explicitly configured as Visible:false. Attackers with reader role can access private workspace files including notebook metadata and internal configuration by knowing the hidden notebook identifier and file path.
Technical POC Analysis
The advisory is registered as GHSA-8ggq-wq3f-vxrw for SiYuan through 3.8.1.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
SiYuan note-taking platform through version 3.8.1 contains an authorization bypass vulnerability allowing users with read-only access to circumvent access controls and retrieve private notebooks and internal configuration they should not see. Organizations storing sensitive data in SiYuan face information disclosure risk if reader-role accounts are compromised or misused to access confidential content.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict /api/file/getFile endpoint access via firewall or WAF rules to limit reader-role requests to specific notebooks only; implement stricter application-level access controls enforcing notebook-level isolation; enable detailed audit logging on all file access attempts to detect exploitation attempts; minimize and regularly review reader-role account assignments; consider temporarily disabling reader role functionality if not business-critical until patched version is available.
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
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-71001
GHSA-fv97-ww8v-fw2w
NVD
CVE.org
EPSS
Exploit-DB