Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach public publish listener anonymously
-
DeliveryPOST getDocAssets on published host document
-
ExploitObtain leaked disabled-row asset path
-
ExecutionPOST getAssetContentByPath with that path
-
ImpactReceive confidential indexed file text
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
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 | Requires a SiYuan instance running the publish feature with a publicly accessible publish host document that contains an attribute view; within that view there must be an MAsset value bound to a row whose source document has publishing disabled, and the referenced asset must be an indexed text file. Under those conditions exploitation is anonymous and remote - the proof sent no X-Auth-Token, because the production publish transport forwards a Reader JWT on the attacker's behalf. Limiting factors: the leak only reaches assets reachable through this specific disabled-row-in-an-accessible-host-view configuration; instances without the publish feature exposed, or without attribute views referencing publish-disabled rows, are not affected. Impact is confidentiality only (full indexed asset text); no integrity or availability impact was observed. |
| Impact | Signals are moderately consistent and point to a real but not emergency-grade issue. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) scores 8.7, while the GHSA advisory's own CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) scores 7.5 High - both agree the flaw is network-reachable, low-complexity, requires no attacker authentication (the production publish transport supplies the Reader JWT, so no caller X-Auth-Token is needed), and causes confidentiality-only impact with no integrity or availability effect. The vuln.today Decision label is 'this_week' (not act_now/emergency). This is NOT in CISA KEV and no EPSS probability was supplied, so there is no evidence of active or widespread exploitation; exploitation is gated by a specific deployment pattern (a public publish host with an attribute view referencing a publish-disabled row), which narrows the realistic attack surface despite the unauthenticated network vector. A detailed clean-checkout reproduction harness is published in the GHSA advisory, lowering the barrier to weaponization. Net: a credible confidentiality-disclosure bug worth patching promptly for anyone using SiYuan's publish feature, but the absence of KEV/EPSS and the required configuration keep it below drop-everything priority. |
| Exploit ScenarioDerived | An attacker who can reach a SiYuan instance's public publish listener sends an anonymous POST to /api/asset/getDocAssets for a published host document; the response leaks the path of an asset referenced only by a publish-disabled attribute-view row. The attacker then POSTs that path to /api/search/getAssetContentByPath and receives the full indexed text of the confidential file, all without any authentication token. A working reproduction harness is published in the GHSA advisory, demonstrating the leak (and confirming an unlinked indexed asset returns null) against the tested revision. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 21, 2026
SiYuan 3.8.0 through 3.8.9 allows anonymous visitors on a public publish host to read the full indexed text of confidential assets that are only referenced by publish-disabled attribute-view rows, crossing the document's publish-access boundary. The attacker first calls /api/asset/getDocAssets on an accessible host document to harvest the leaked asset path, then queries /api/search/getAssetContentByPath, which returns the file's extracted text because the publish transport has already supplied a Reader JWT on the anonymous request's behalf. Impact is confidentiality-only (assessed CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N); a public PoC reference exists in the advisory (a clean-checkout reproduction against a pinned revision), it is not verified as working exploit code against released builds, and the flaw is not in CISA KEV. Exploitation is limited to instances that expose the publish feature and have an attribute view in a public document whose MAsset value is bound to a publish-disabled source document and points at an indexed text asset.
RemediationAI
Vendor-released patch: upgrade to SiYuan v3.8.10, which corresponds to upstream commit 9a087492f1d3aeb97c22db156ed27769ebc87ac8 and adds DocAssetsForPublishAccess plus a shared row-level publish filter so that getDocAssets and FilterAssetContentByPublishAccess exclude asset paths contributed by publish-disabled attribute-view rows; advisory GHSA-q2x4-crw5-q567 documents the fix. If upgrading immediately is not possible, the practical compensating controls are: disable the publish feature entirely (removes the anonymous Reader-JWT forwarding path that makes this exploitable, at the cost of losing all public sharing); or, at the reverse proxy in front of the publish listener, block POST requests to /api/search/getAssetContentByPath and, for anonymous traffic, to /api/asset/getDocAssets (trade-off: legitimate readers lose asset-content search and asset listing for published documents); or remove MAsset columns from attribute views embedded in publicly published host documents where the bound rows come from publish-disabled source documents (trade-off: loss of that asset metadata in the shared view). After patching, validate that anonymous requests to the publish listener can no longer retrieve content for assets referenced only by disabled rows, and that unlinked indexed assets still return null.
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
The root cause is CWE-863, incorrect authorization, in SiYuan's Go kernel module (github.com/siyuan-note/siyuan/kernel), specifically in how the publish (Reader) allowlist for asset content is assembled. The production publish listener created by proxy.InitPublishService accepts the anonymous HTTP request and routes it through PublishServiceTransport, which forwards a valid Reader JWT to the regular API router - so the caller needs no X-Auth-Token, password, or workspace authorization. The /api/asset/getDocAssets handler builds its list through model.DocAssets; when collecting attribute-view assets, getAttributeViewAssetsLinkDests walks persisted values and extracts each MAsset path via getAttributeViewValueAssetsLinkDests. That traversal retains the protected source document's block ID but never applies that row's publish-access rule, so an attribute view in an accessible host document contributes an asset path from a disabled row into the Reader allowlist. The /api/search/getAssetContentByPath handler then calls FilterAssetContentByPublishAccess for read-only roles and, because the leaked path is now treated as allowed, model.GetAssetContentByPath returns the FTS-indexed file text. The authorization decision therefore follows the accessible attribute-view container rather than the publish status of the row bound to the asset - unlike Reader export, which does filter values belonging to hidden rows. The upstream fix (commit 9a087492) factors the row-level filter into newPublishAccessItemFilter, adds DocAssetsForPublishAccess/docAssets(rootID, retainQueryStr, itemFilter), and switches getDocAssets and FilterAssetContentByPublishAccess to the filtered variant, with an fts5-tagged regression test asserting that the Reader asset list and asset-content filter exclude the disabled-row asset.
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:H/VI:N/VA:N/SC:N/SI:N/SA:N
Anonymous network request with no caller token (PR:N) and no user interaction reaches the leak with no special attacker conditions (AC:L); impact is full asset-text disclosure (C:H) with no integrity or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
SiYuan 3.8.0 before 3.8.10 contains an incorrect authorization vulnerability that allows anonymous attackers to read indexed asset text referenced only by publish-disabled attribute-view rows. Attackers can request /api/asset/getDocAssets on a public host document to obtain the leaked asset path, then query /api/search/getAssetContentByPath to retrieve the confidential file's full indexed text.
Technical POC Analysis
CWE-863 (Incorrect Authorization).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-134247 affects organizations using SiYuan versions 3.8.0 through 3.8.9 with publicly exposed publish hosts, allowing unauthenticated visitors to read confidential asset content that should remain behind publish-disabled controls. This undermines the publish-access boundary and could expose sensitive indexed text to anyone with network access, creating confidentiality risk for data owners and compliance stakeholders.
Apply vendor patch.
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'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-132195
GHSA-pffm-3p23-6hq4
NVD
CVE.org
EPSS
Exploit-DB