Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain publish-reader credentials
-
DeliveryAuthenticate to SiYuan publish endpoint
-
ExploitEnumerate attribute view IDs via getAttributeViewKeysByID
-
ExecutionRetrieve key schemas from private hidden databases
-
ImpactHarvest sensitive field names and relation definitions
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 session on the target SiYuan instance-an authenticated low-privilege account (PR:L per CVSS). The SiYuan publish/share feature must be enabled and accessible over the network. The attacker additionally needs at least one attribute view ID from a private database, which may be obtained by guessing, enumeration via other endpoints, or observing IDs exposed in shared (public) content on the same instance. Limiting factors: unauthenticated attackers cannot exploit this; single-user instances with no publish readers configured are not at risk; instances accessible only on localhost or a trusted LAN have a greatly reduced exposure surface. |
| Impact | The CVSS 4.0 score of 5.3 (Medium) reflects a limited-impact information disclosure with a low-privilege authentication prerequisite (PR:L), network attack vector, and no integrity or availability impact (VI:N/VA:N, SC:N/SI:N/SA:N). The vendor-assigned metrics align well with the described behavior: only schema metadata (field names, relation definitions) is exposed, not actual stored note content. No CISA KEV listing and no public exploit code have been identified, and the EPSS signal is not provided in the input. Real-world risk is further bounded by SiYuan's deployment profile: it is primarily a self-hosted personal or small-team tool, and the publish-reader role must first be provisioned and reachable by the attacker. The 'Authentication Bypass' tag in the input is a mislabel-exploitation requires a valid session; the bypass is an authorization (IDOR) one, not an authentication one. Overall, this is a genuine but low-urgency vulnerability: high priority for multi-user SiYuan deployments with sensitive private databases, lower priority for single-user or air-gapped instances. |
| Exploit ScenarioDerived | An attacker who has obtained a publish-reader account on a shared SiYuan instance sends repeated GET requests to the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 05, 2026
SiYuan's getAttributeViewKeysByID endpoint, present in all versions before v3.8.2, allows authenticated publish readers to retrieve full key schemas-including sensitive field names and relation definitions-from private or hidden databases they have no visibility into. The flaw is an authorization bypass (CWE-639/IDOR) where the endpoint validates that a caller holds a publish-reader session but never verifies the caller's access rights against the parent database owning the requested attribute view. No public exploit code and no CISA KEV listing have been identified at time of analysis, keeping real-world risk moderate despite the network-accessible attack vector.
RemediationAI
Upgrade SiYuan to v3.8.2 or later, which resolves the missing authorization check in the getAttributeViewKeysByID endpoint, as confirmed by GitHub Security Advisory GHSA-j4qq-w6qx-6839. If an immediate upgrade is not possible, restrict the publish-reader role exclusively to fully trusted users and audit which databases are marked private, since those schemas are the primary data at risk. Alternatively, disabling the publish/share feature entirely removes the low-privilege attack surface-this is the most effective compensating control but prevents legitimate read-only sharing. Network-layer firewall rules that limit access to the SiYuan instance to known, trusted IP ranges also reduce exposure without disabling functionality.
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 is a local-first, self-hosted personal knowledge management application (CPE: cpe:2.3:a:siyuan-note:siyuan:*). Its data model uses 'attribute views'-typed database-like schemas attached to blocks-that can be marked private or hidden. The getAttributeViewKeysByID API endpoint is intended to return key definitions for a given attribute view ID. CWE-639 (Authorization Bypass Through User-Controlled Key) describes the root cause: the endpoint accepts a caller-supplied attribute view ID and returns its schema without confirming that the caller's session carries read permission on the owning (parent) database. Because attribute view IDs are likely sequential, UUID-based, or otherwise enumerable within a shared SiYuan publish context, an attacker with only a publish-reader token can systematically probe IDs to harvest schemas from databases they were never granted 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:L/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable endpoint requires low-privilege authenticated session; only schema metadata disclosed, no integrity or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
SiYuan versions before v3.8.2 contain an information disclosure vulnerability in the getAttributeViewKeysByID endpoint that allows publish readers to enumerate private attribute view key definitions without verifying parent database visibility. Attackers can access the endpoint to retrieve complete key schemas including sensitive field names and relation definitions from hidden databases.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-72012
GHSA-5p8j-x73f-mfw4
NVD
CVE.org
EPSS
Exploit-DB