Skip to main content

Siyuan EUVDEUVD-2026-74835

| CVE-2026-87809 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-09-09 VulnCheck GHSA-ghrq-8gf7-vmrq
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as reader on Siyuan instance
  2. Delivery
    Create or locate public document with embed block
  3. Exploit
    Craft embed query referencing private/hidden block IDs
  4. Execution
    Call /api/export/preview or /api/lute/copyStdMarkdown
  5. Impact
    Receive fully rendered private block content

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 a valid reader-level authenticated session on the target Siyuan instance - unauthenticated access is insufficient (CVSS PR:L). The deployment must have multi-user access configured with at least one user whose access level is lower than the owner of the private content. The attacker must be able to submit or access a document containing an embed block query that references private or publish-disabled block IDs, and must be able to invoke the /api/export/preview or /api/lute/copyStdMarkdown endpoints. Single-user deployments with no external reader accounts are not exposed. The vulnerability does not permit write access, code execution, or availability disruption - impact is strictly bounded to confidentiality of block content.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N, score 7.1) accurately captures the threat model: low-complexity network exploitation by any authenticated reader with high confidentiality impact and no integrity or availability consequences. The real-world risk is most acute in multi-user or team deployments of Siyuan where content owners use privacy controls to segregate sensitive notes (drafts, private journals, restricted project data) from shared spaces. Single-user self-hosted instances with no external reader accounts carry negligible exposure. No EPSS data is available in the provided input. Neither a public exploit nor a KEV listing has been identified, consistent with the product's niche deployment footprint. The low attack complexity and absence of any special configuration requirement beyond having a reader account mean that any authorized reader on a vulnerable multi-user instance can trivially exploit this.

Exploit ScenarioDerived

An authenticated reader on a shared Siyuan instance creates or locates a public document and inserts an embed block whose query selects blocks belonging to a private notebook or a publish-disabled page. The reader then issues a GET or POST request to /api/export/preview referencing that document, and the response contains the fully rendered content of the private blocks - including text, attachments, and metadata the owner intended to restrict. No proof-of-concept code has been publicly disclosed, but the attack requires only reader credentials and a standard HTTP client.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 09, 2026

Siyuan note-taking application before v3.8.2 leaks private block content to authenticated readers through two export/preview API endpoints that skip publish-access validation when resolving embedded block references. Any user holding reader-level credentials can craft requests to /api/export/preview or /api/lute/copyStdMarkdown referencing public documents whose embed queries target private, hidden, or publish-disabled blocks, receiving their full rendered content. No public exploit code or CISA KEV listing has been identified, but exploitation requires only reader authentication and standard HTTP tooling.

RemediationAI

Upgrade to Siyuan v3.8.2 or later, which introduces proper publish-access filtering in the embed block rendering pipeline for the affected endpoints. The vendor-confirmed fix is documented in GitHub Security Advisory GHSA-8wx4-fvqw-f5f8 at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-8wx4-fvqw-f5f8. If an immediate upgrade is not feasible, restrict reader-level access to fully trusted users only, eliminating the attacker's foothold. As a harder network-layer workaround, block external access to the /api/export/preview and /api/lute/copyStdMarkdown routes at a reverse proxy - note this disables export-preview and markdown-copy functionality for all users. Deployments that are strictly single-user with no external accounts do not require urgent action.

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 self-hosted, block-based personal knowledge management application (CPE: cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:*) that supports 'embed blocks' - SQL-like queries that pull referenced blocks from across a vault into a document for rendering. The root cause is CWE-639 (Authorization Bypass Through User-Controlled Key): when the /api/export/preview and /api/lute/copyStdMarkdown endpoints resolve these embed queries, they dereference block IDs supplied in the query without re-validating the target block's publish-access settings against the requesting user's permission level. The rendering pipeline trusts the embed query's output directly, effectively treating the block ID as an implicit authorization token and bypassing the per-block visibility model (private/hidden/publish-disabled states) that the application otherwise enforces.

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 7.1 HIGH
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
vuln.today AI 6.5 MEDIUM

Reader authentication required (PR:L) over network; impact is confidentiality-only as private blocks are readable but not writable, with no scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Sep 09, 2026 - 12:03 EUVD
CVE Published
Sep 09, 2026 - 11:20 cve.org
HIGH 7.1

DescriptionCVE.org

Siyuan before v3.8.2 fails to apply publish-access filtering to embedded blocks before rendering in the /api/export/preview and /api/lute/copyStdMarkdown endpoints. Attackers with reader access can retrieve the full rendered content of private, hidden, or publish-disabled blocks by accessing public documents containing embed queries that select those blocks.

Technical POC Analysis

Missing publish-access authorization during embedded-block resolution in the export/rendering path.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Siyuan note-taking application versions before 3.8.2 expose private and confidential blocks to any authenticated reader through API endpoints that bypass access controls. This creates an organizational data confidentiality risk where users with legitimate reader-level access can extract sensitive information-such as meeting notes, strategic plans, or confidential data-that should remain restricted. Any deployment storing sensitive information requires immediate patching to prevent unauthorized data disclosure within the existing user base.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
self-hosted niche note-taking 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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
High

Priority Score

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

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