Skip to main content

SiYuan CVE-2026-59853

MEDIUM
Missing Authorization (CWE-862)
2026-07-09 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Obtain publish-mode Reader credentials
  2. Delivery
    Authenticate to target SiYuan instance
  3. Exploit
    Send GET /api/storage/getCriteria
  4. Execution
    Receive unfiltered criteria.json payload
  5. Persist
    Extract private document paths, IDs, and search keywords
  6. Impact
    Enumerate unpublished knowledge base structure

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 a valid publish-mode Reader account on the target SiYuan instance - the CVSS PR:L metric confirms low-privilege authenticated access is needed, not unauthenticated access. Publish mode must be enabled on the instance, and the attacker must have been granted at least Reader-level access within that mode. The SiYuan instance must be network-reachable from the attacker; given typical self-hosted deployments on localhost or private networks, network reachability is frequently the primary limiting factor. Impact is confined to metadata disclosure (document paths, IDs, search keywords) - actual document content is not exposed through this endpoint. No non-default configuration setting beyond publish mode being active is required for exploitation.

Impact

The CVSS 3.1 score of 6.5 (Medium, AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) reflects a network-exploitable flaw requiring only publish-mode Reader credentials, with high confidentiality impact scoped to the vulnerable system. Attack complexity is low - no race conditions, no chaining, no special protocol knowledge required. No EPSS data was provided and the CVE is absent from CISA KEV, so exploitation probability and active exploitation status are unconfirmed beyond the absence of KEV listing. The practical risk is modulated by deployment context: SiYuan is most commonly self-hosted on localhost or private networks, so network reachability is frequently a natural barrier. However, instances exposed to the internet or shared within an organization with multiple users face meaningful risk of internal data enumeration. The impact is metadata disclosure rather than full document content retrieval, which caps the direct harm but enables reconnaissance for follow-on attacks against document structure. No conflicting signals exist between available data sources.

Exploit ScenarioDerived

An attacker granted publish-mode Reader access to an internet-exposed SiYuan instance sends an authenticated HTTP GET request to /api/storage/getCriteria. The endpoint returns the unfiltered contents of data/storage/criteria.json, disclosing private document paths, notebook and block identifiers, and search/replace keyword history for documents never published to them, allowing the attacker to map the victim's private knowledge base structure and identify sensitive topics or document locations for targeted follow-on access attempts.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 09, 2026

Missing authorization on the /api/storage/getCriteria endpoint in SiYuan personal knowledge management software exposes saved search criteria - including private document paths, notebook and block IDs, and search/replace keyword history - to any publish-mode Reader, bypassing the access controls applied by all sibling storage endpoints. All SiYuan releases prior to 3.7.1 are affected per the vendor security advisory GHSA-px3c-cf92-9g83. No public exploit has been identified at time of analysis and the vulnerability is not listed in CISA KEV, though the low attack complexity and readily available fix commit make this straightforward to weaponize against exposed instances.

RemediationAI

Upgrade SiYuan to version 3.7.1 or later; this is the vendor-released patch that applies consistent publish-access filtering to the /api/storage/getCriteria endpoint. The fix commit is available at https://github.com/siyuan-note/siyuan/commit/0049d0f04ffe9837760d29248b9ef31605077d36 and the release is tagged at https://github.com/siyuan-note/siyuan/releases/tag/v3.7.1. As a compensating control prior to patching, administrators can disable publish mode entirely if external read access is not operationally required - note that doing so removes all public read access to shared content. Alternatively, restricting network access to the SiYuan instance via firewall rules or reverse-proxy authentication to trusted users will prevent exploitation by external parties, though this does not eliminate risk from insider misuse of Reader accounts.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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 self-hosted, open-source personal knowledge management system that supports a publish mode granting external parties Reader-level access to selected content. Internal storage endpoints under /api/storage/ serve files from the local data directory and are expected to apply publish-access filtering to prevent Readers from seeing content outside their permitted scope. The /api/storage/getCriteria endpoint reads from data/storage/criteria.json and returns saved search criteria but omits the publish-access filtering logic present in its sibling endpoints. The root cause is CWE-862 (Missing Authorization): the endpoint does not verify whether the authenticated caller's role entitles them to the full criteria store, which includes metadata referencing unpublished and private documents.

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 (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Network-accessible API requires low-privilege Reader authentication (PR:L); metadata-only disclosure is confined to the vulnerable SiYuan instance with no integrity or availability impact.

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 (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, the /api/storage/getCriteria endpoint returns saved search criteria from data/storage/criteria.json without the publish-access filtering used by sibling storage endpoints, allowing a publish-mode Reader to read private document paths, notebook, document, and block IDs, and search and replace keywords for unpublished documents. This issue is fixed in versions 3.7.1.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Low
niche self-hosted personal knowledge management tool
Social Media
1
Sightings
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 No
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:siyuan-note:siyuan:*:*:*:*:*:*:*:*

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