Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Publish reader credentials
-
DeliveryReach SiYuan server's getAttributeViewKeys endpoint
-
ExploitSupply private attribute-view row identifiers
-
ExecutionEndpoint returns unfiltered hidden KeyValues
-
ImpactExfiltrate private document database contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Exploitation requires the attacker to hold a valid Publish reader account on a SiYuan instance running in multi-user or server mode with the publish and sharing feature enabled. The attacker needs network access to the getAttributeViewKeys API endpoint and must be able to supply or enumerate attribute-view row identifiers. Default single-user desktop deployments of SiYuan are not exposed because no external users exist. Exploitation is bounded to authenticated low-privilege users (PR:L per CVSS 4.0); anonymous or unauthenticated access is not sufficient. No user interaction from an administrator or document owner is required once the attacker has a Publish reader credential. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N) reflects a straightforward network-reachable, low-complexity authorization bypass with high confidentiality impact and no integrity or availability consequences, yielding a 7.1 score. This is well-calibrated: the impact ceiling is bounded by what users store in attribute-view fields, which in an enterprise or team context could include credentials, financial records, or sensitive planning data. No KEV listing confirms active exploitation, no EPSS figure was supplied, and no public POC has been identified, all of which temper urgency. However, the low exploitation bar - only a Publish reader account is needed - means that even a mid-sized municipal IT team in inowroclaw running a shared SiYuan server with guest sharing enabled should treat this as urgent if sensitive data is stored in attribute views. The primary risk limiter is deployment mode: SiYuan is designed as a local-first tool and most users run it as a single-user desktop application, substantially reducing the attack surface. Multi-user server deployments with the publish/sharing feature enabled represent the realistic threat population. The 'Authentication Bypass' tag in the input metadata is inaccurate - this is a post-authentication authorization bypass, not a mechanism to circumvent login. |
| Exploit ScenarioDerived | An attacker who has been granted Publish reader access to a shared SiYuan server - for example, to view published notes - enumerates or guesses row identifiers in the attribute-view database. They call the getAttributeViewKeys endpoint directly with those identifiers and receive back hidden KeyValues from rows tied to private, inaccessible documents, extracting structured data such as stored credentials, API keys, or internal planning fields that the document owner believed were protected. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 05, 2026
Unauthorized access to private attribute-view database contents in SiYuan before v3.8.2 is possible for any user holding a Publish reader role. The getAttributeViewKeys endpoint fails to enforce document-level access controls on hidden KeyValues, returning private cell data from rows bound to documents the requesting user cannot legitimately view. Exploitation requires only low-privilege authenticated access (PR:L per CVSS 4.0 vector); no public exploit or active KEV listing has been identified at time of analysis.
RemediationAI
Upgrade SiYuan to v3.8.2 or later; this release applies proper access-control filtering to the getAttributeViewKeys endpoint and is the only confirmed fix per GitHub Security Advisory GHSA-vc7j-5f5p-3x75 (https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vc7j-5f5p-3x75). If an immediate upgrade is not possible, revoke all Publish reader grants on the SiYuan instance until patched - this eliminates the attack surface at the cost of disabling document sharing entirely. Alternatively, restrict network access to the SiYuan server to trusted internal hosts only, preventing external callers from reaching the getAttributeViewKeys endpoint. Organizations storing highly sensitive data in attribute views should audit access logs for anomalous calls to this endpoint as a detection measure while the patch is applied.
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 a local-first personal knowledge management application that supports structured database-style 'attribute views' - rows of key-value data attached to documents. The getAttributeViewKeys API endpoint is responsible for retrieving these attribute-view cell values. CWE-639 (Authorization Bypass Through User-Controlled Key) identifies the root cause: the endpoint accepts user-supplied row identifiers without validating whether the caller has read permission on the documents those rows are linked to. Because the filtering logic for 'hidden' (private) KeyValues is bypassed, a Publish reader - a low-privilege sharing role - can supply arbitrary row IDs and receive back attribute-view payloads scoped to documents they have no direct access to.
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-reachable endpoint requires only low-privilege Publish reader auth; confidentiality fully compromised for private attribute-view data; no integrity or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
SiYuan versions before v3.8.2 fail to properly filter private attribute-view cell values in the getAttributeViewKeys endpoint. Publish readers can retrieve hidden KeyValues payloads from rows bound to inaccessible documents, exposing private database contents without authorization.
Technical POC Analysis
The supplied metadata classifies this as CWE-639, an authorization bypass on the attribute-view key retrieval path.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
SiYuan deployments prior to version 3.8.2 are vulnerable to unauthorized data exposure where users with limited read-only access can bypass controls to retrieve sensitive internal information stored in private attribute databases. This undermines data confidentiality practices for organizations relying on role-based permissions to protect sensitive knowledge bases and internal documentation. Immediate assessment of deployed versions and access-role assignments is critical.
Until SiYuan 3.8.2 is released and deployed: restrict Publish reader role assignments to only essential users and regularly audit role membership; disable attribute-view functionality if not operationally required; implement monitoring on the getAttributeViewKeys endpoint to detect anomalous query patterns; establish network-level access restrictions to SiYuan to limit the user population with read access; consider implementing an external data governance layer to further classify and restrict sensitive rows.
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-72013
GHSA-rw64-64f2-x73j
NVD
CVE.org
EPSS
Exploit-DB