Skip to main content

SiYuan CVE-2026-86191

| EUVDEUVD-2026-72012 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-09-05 VulnCheck GHSA-5p8j-x73f-mfw4
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain publish-reader credentials
  2. Delivery
    Authenticate to SiYuan publish endpoint
  3. Exploit
    Enumerate attribute view IDs via getAttributeViewKeysByID
  4. Execution
    Retrieve key schemas from private hidden databases
  5. Impact
    Harvest 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 getAttributeViewKeysByID endpoint, iterating over attribute view IDs (by guessing, incrementing, or harvesting IDs visible in shared content). For each valid ID belonging to a private or hidden database, the endpoint returns the full key schema-field names, types, and relation definitions-without checking whether the reader's session is authorized to view that database. No public exploit code is known, but the attack requires only standard HTTP requests and a valid low-privilege session.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

SiYuan 0 <3.8.2

Affected Packages

euvd siyuan fix: 3.8.2

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

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 4.3 MEDIUM

Network-reachable endpoint requires low-privilege authenticated session; only schema metadata disclosed, no integrity or availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Sep 05, 2026 - 14:16 EUVD

DescriptionCVE.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

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Low
self-hosted personal knowledge management app, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Siyuan

View all
CVE-2026-69083 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role

CVE-2026-54067 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a

CVE-2026-69084 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements

CVE-2026-54158 CRITICAL POC
9.9 Jun 24

Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,

CVE-2026-69085 CRITICAL POC
9.9 Aug 03

SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr

CVE-2024-53507 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t

CVE-2024-53506 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R

CVE-2024-53505 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti

CVE-2024-53504 CRITICAL POC
9.8 Nov 29

A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c

CVE-2026-23852 CRITICAL POC
9.6 Jan 19

SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex

CVE-2026-56397 CRITICAL POC
9.4 Jun 21

Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package

CVE-2026-54069 CRITICAL POC
9.2 Jun 24

Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy