Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach public-publish SiYuan instance with Basic Auth disabled
-
DeliveryIdentify asset name shared by public and protected docs
-
ExploitSend GET /assets/<colliding-name> as anonymous Reader
-
ExecutionOwner-unbound publish check authorizes via visible doc
-
ImpactRetrieve protected document's asset bytes
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 public-publish deployment with Basic Auth DISABLED (the anonymous Reader token path), plus a name-collision precondition: a password-protected document and a separate publicly-visible document must both reference the same relative asset path (e.g., assets/overlap.txt), and GetAssetAbsPath/resolver order must select the protected document's physical file first. The attacker then issues GET /assets/<name> with no X-Auth-Token and no document-password cookie. LIMITING FACTORS: if Basic Auth is enabled, exploitation requires a valid low-privilege Reader account (not anonymous); only publicly-published instances are exposed (private/local-only deployments are unaffected); and the asset-name collision between a visible and a protected document must actually exist, which is not fully attacker-controlled. No user interaction and no special client configuration are needed once these server-side preconditions hold. |
| Impact | This is a genuine but conditionally-scoped confidentiality flaw (CWE-863 Incorrect Authorization) rather than an inflated high-CVSS issue, though its real-world blast radius is narrower than the 8.7 base score suggests. The CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:N/VC:H) and CVSS 3.1 equivalent (7.5) both describe network-reachable, low-complexity, unauthenticated confidentiality-only impact - consistent with the mechanism: an attacker reads a password-protected document asset by requesting a colliding relative name. Crucially, PR:N holds ONLY for the supported public-publish mode with Basic Auth disabled; when Basic Auth is enabled, a valid low-privilege Reader account is required, so the effective privilege requirement depends on deployment. The vuln.today Decision label is 'this_week' (not act_now/emergency), indicating prioritized-but-not-crisis handling. No EPSS score and no CISA KEV entry are present in the input, so there is no signal of active or widespread exploitation; this is CONFIRMED-reported-by-VulnCheck with a detailed technical reproduction, not observed in-the-wild activity. The impact is bounded to confidentiality of document-local assets (VI/VA:N, no scope change), and exploitation also depends on a name-collision precondition (a public document must reference the same relative asset name that a protected document uses, with the resolver selecting the protected file first) - a configuration that is not purely attacker-controlled and that limits mass exploitability. Net: patch on a normal prioritized cadence for exposed public-publish instances; lower urgency for Basic-Auth or non-published deployments. |
| Exploit ScenarioDerived | An operator runs a SiYuan public-publish instance with Basic Auth disabled, hosting a mix of publicly-visible and password-protected documents. A password-protected document and a separate public document both reference the same relative asset name (e.g., assets/overlap.txt), and the resolver matches the protected file first. A remote visitor sends GET /assets/overlap.txt with no auth token or document-password cookie and receives the protected document's asset bytes with HTTP 200. The GHSA advisory includes an in-process route-level reproduction demonstrating exactly this (status=200, body="protected-document-canary"); AV:N/AC:L/PR:N makes the request trivial to issue against an exposed instance. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 21, 2026
Unauthenticated visitors to public-publish SiYuan instances with Basic Auth disabled can read the contents of password-protected document assets when a relative-name collision exists. SiYuan 3.8.0 through 3.8.9 authorize GET /assets/<name> against any publish-visible document that merely references the relative path, without binding that decision to the document that owns the physical file the resolver actually selected, so a public document referencing assets/overlap.txt can unlock a protected document's identically named file (CWE-863; CVSS 4.0 8.7, assessed CVSS 3.1 7.5 with PR:N applying only to the public-publish, Basic-Auth-disabled mode). The vendor fixed the owner binding in 3.8.10, and the GHSA ships an in-process Go reproduction (a public PoC reference that is not reported as working standalone exploit code); the issue is not on CISA KEV and there are no reports of active exploitation, with real-world exposure gated by server-side preconditions: Basic Auth disabled, an existing name collision, and resolver order selecting the protected file.
RemediationAI
Upgrade to SiYuan 3.8.10 or later, which contains the owner-binding fix (vendor-released patch; upstream commit https://github.com/siyuan-note/siyuan/commit/76bbb54d0e23cf27b789376826d982a616c79488) and keeps notebook-level <box>/assets/ sharing intact while requiring document-level assets to be authorized by their owning document; note in the same window that the affected range starts at 3.8.0, so any 3.8.0-3.8.9 install serving publish traffic should move to 3.8.10. If upgrading must be deferred, enabling Basic Auth on the publish service removes the anonymous path described here, at the cost of forcing every reader to authenticate (and a valid low-privilege Reader account then still suffices for the collision). A second, deployment-specific mitigation is to eliminate the precondition: audit document-local asset filenames and rename or remove duplicate relative names shared between password-protected and publicly visible documents, accepting that the collision can reappear as documents are edited and that this is a data-hygiene control rather than an enforcement one. Avoid exposing publish endpoints outside the audience that needs them (network ACL or reverse-proxy restriction) as a backstop, understanding that this does not fix the authorization logic. Validate the result by confirming that GET /assets/<name> returns 403 for a protected-only name and that a colliding name no longer returns protected content; advisory references are https://github.com/siyuan-note/siyuan/security/advisories/GHSA-xxqp-6jxw-qr84 and the VulnCheck advisory at https://www.vulncheck.com/advisories/siyuan-3.8.0-before-3.8.10-incorrect-authorization-via-assets-cross-document-asset-collision.
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
SiYuan is a Go (gin-based) local-first knowledge management application whose kernel exposes a publishing service through PublishServiceTransport. The affected route is serveAssets, registered for GET /assets/*path behind CheckAuth; with no box or dataPath selector, resolveAssetRequestPath delegates to GetAssetAbsPath, which picks a physical, document-local asset file on disk. For non-administrator callers the handler then invokes CheckAbsPathAccessableByPublishAccess, which scans the documents permitted by publish access and returns true if any of them references the requested relative asset path. The flaw is a textbook CWE-863 incorrect authorization: the check validates a name, not an object, so it never confirms that the document authorizing the reference is the same document that owns the resolved file. The violated invariant is that publish authorization for an asset response must follow the visibility and password rules of the owning document. The upstream commit 76bbb54d0e23cf27b789376826d982a616c79488 repairs this by computing an ownerAbsPath for document-level assets (anything outside the shared notebook-level <box>/assets/ directory) and skipping block-tree entries whose recomputed owned path, filepath.Join(DataDir, boxID, filepath.Dir(bt.Path), assetPath) cleaned, does not match the resolved path, so a same-named reference in a different document can no longer authorize the file while notebook-level shared assets retain their existing semantics. Authentication mode matters: with Basic Auth disabled the publish transport injects an anonymous Reader token, which is why the vector carries PR:N; with Basic Auth enabled the transport validates a session or Basic Auth credentials first, so a valid low-privilege Reader account is required and this is not an authentication bypass. The trigger requires a specific deployment state rather than a crafted payload, and the advisory notes that the tested revision was v3.8.8 at bfe36100477b7bbd66db1a8b8cff5547b2ccdb59, with other releases not version-swept.
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
Network-reachable, no auth in the supported public-publish Basic-Auth-disabled mode (PR:N), low complexity, confidentiality-only disclosure of protected asset bytes with no integrity or availability impact and no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
SiYuan 3.8.0 before 3.8.10 contains an incorrect authorization vulnerability in the serveAssets route that allows unauthenticated attackers to read password-protected document assets via name collisions. Attackers can request GET /assets/<name> when a visible document references the same relative asset name, retrieving the protected file's contents on public-publish instances with Basic Auth disabled.
Technical POC Analysis
CWE-863, incorrect authorization, in the SiYuan Go kernel (github.com/siyuan-note/siyuan/kernel).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
SiYuan note-taking platform versions 3.8.0 through 3.8.9 contain an authorization flaw that allows unauthenticated users to read password-protected document attachments when Basic Auth is disabled and file names collide. Leadership should care because this could expose sensitive information stored in protected documents, potentially impacting data confidentiality and compliance if exploited.
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-132193
GHSA-3m63-f6rq-6h73
NVD
CVE.org
EPSS
Exploit-DB