Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach SiYuan API over network
-
DeliveryQuery getBlockDefIDsByRefText or getBlockRelevantIDs with arbitrary input
-
ExploitCollect workspace-wide block IDs crossing publish boundaries
-
ExecutionCall getAttributeViewKeysByID with harvested IDs
-
ImpactExtract database schemas and metadata from restricted documents
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 that the SiYuan instance be network-reachable and that the publish feature be active; instances running in fully air-gapped or localhost-only configurations are not reachable by external attackers. The provided CVSS 4.0 vector specifies PR:N, but the CVE description refers to 'authenticated readers' as a prerequisite for getAttributeViewKeysByID access - whether any of the three endpoints truly require no credentials or require publish-reader-level access (which may itself be unauthenticated in SiYuan's model) is not independently confirmed from available data. Impact is additionally bounded by the nature of exposed data: the vulnerability surfaces schema metadata and block identifiers, not raw document bodies; whether block IDs can be directly leveraged to retrieve full content from password-protected documents through additional API calls is not confirmed in available data. Instances where no sensitive content exists behind publish boundaries face negligible practical risk. |
| Impact | The provided CVSS 4.0 vector assigns PR:N (no privileges required), yet the CVE description explicitly references 'authenticated readers' as the threat actor for at least the getAttributeViewKeysByID endpoint - this discrepancy is unresolved in available data and materially affects real-world risk assessment; defenders should confirm the exact authentication requirement per endpoint against the vendor advisory before classifying the exposure. Impact metrics are bounded: VC:L and SC:L indicate only low confidentiality exposure across vulnerable and subsequent systems respectively, with no integrity or availability dimension. Even a mid-sized municipal IT team in sopot running a self-hosted SiYuan instance should treat this as a routine patch cycle rather than an emergency incident, given the narrow confidentiality scope, absence of known active exploitation, and lack of a public exploit. No EPSS data was provided; without that signal, exploitation probability cannot be quantified beyond noting the absence of KEV listing and public POC. The realistic risk concentrates on metadata leakage - schema definitions, vocabulary lists - and block ID enumeration that could facilitate targeted follow-on content discovery, not mass workspace exfiltration. |
| Exploit ScenarioDerived | An attacker with network access to an exposed SiYuan publish interface sends standard HTTP GET requests to getBlockDefIDsByRefText or getBlockRelevantIDs with an arbitrary reference text query, receiving workspace-wide block identifiers that span publish restrictions. Using harvested block IDs, the attacker queries getAttributeViewKeysByID to extract database column schemas - including template expressions and option vocabularies - from attribute view blocks in documents that the publish configuration intended to keep private. No public exploit code is known, making exploitation dependent on manual API interaction or custom tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
Missing authorization controls on three internal API endpoints in SiYuan before v3.7.4 allow callers operating within the publish context to retrieve database column schemas, template expressions, select vocabularies, and workspace-wide block identifiers that were never intended to cross publish access boundaries. The affected endpoints - getAttributeViewKeysByID, getBlockDefIDsByRefText, and getBlockRelevantIDs - perform their operations without consulting publish-scoped permission checks, constituting a CWE-862 (Missing Authorization) flaw. A vendor patch is available at v3.7.4, no public exploit code has been identified at time of analysis, and the vulnerability is not listed in CISA KEV.
RemediationAI
Upgrade SiYuan to v3.7.4 or later, which introduces publish-access filtering on the affected endpoints; this is the primary and recommended fix as documented in vendor GitHub Security Advisory GHSA-5fhr-f75j-8wr9 at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-5fhr-f75j-8wr9. If immediate upgrade is not feasible, restrict network-level access to the SiYuan API port (default 6806) to only trusted internal hosts using host-based firewall rules or a reverse proxy requiring authentication - note this will block all external API consumers including legitimate publish readers. As a more targeted workaround, disabling the SiYuan publish feature entirely eliminates the access boundary that the vulnerability exploits, though previously published content will become unavailable to external readers until the feature is re-enabled after patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, 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:*:*:*:*:*:*:*:*, all versions before 3.7.4) is a self-hosted Electron-based personal knowledge management system that exposes an internal HTTP API consumed by its own client. Its publish subsystem is designed to selectively surface notebooks or documents to external readers while keeping other workspace content private or password-protected. The root cause is CWE-862 (Missing Authorization): the three named endpoints execute their data retrieval logic without first verifying that the requesting caller holds publish-scoped access to the targeted resource. getAttributeViewKeysByID returns full attribute view column schemas - including select option vocabularies, descriptions, and template expressions - for any database block. getBlockDefIDsByRefText and getBlockRelevantIDs enumerate block IDs across the entire workspace without filtering to the caller's publish scope, enabling discovery of identifiers for blocks residing in hidden or password-protected 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
PR:L assigned because description references authenticated readers despite PR:N in provided vector; impact is confidentiality-only, low severity, no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
SiYuan versions before v3.7.4 fail to apply publish-access filtering to the getAttributeViewKeysByID endpoint, allowing authenticated readers to retrieve complete database column schemas including descriptions, select vocabularies, and template expressions. Additionally, getBlockDefIDsByRefText and getBlockRelevantIDs endpoints enumerate workspace-wide block IDs without publish scoping, enabling attackers to discover valid block identifiers across publish boundaries and access content from hidden or password-protected documents.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
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
Reflected XSS in SiYuan knowledge management before 3.5.9.
SiYuan knowledge management system prior to 3.5.5 has a path traversal in /api/file/copyFile allowing arbitrary file ope
SiYuan version 3.0.3 allows executing arbitrary commands on the server. Rated critical severity (CVSS 9.0), this vulnera
Same weakness CWE-862 – Missing Authorization
View allSame technique Authentication Bypass
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-57460
GHSA-fxmw-rv85-5hwh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB