Skip to main content

SiYuan Note EUVDEUVD-2026-132193

| CVE-2026-134245 HIGH
Incorrect Authorization (CWE-863)
2026-11-21 VulnCheck GHSA-3m63-f6rq-6h73
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Reach public-publish SiYuan instance with Basic Auth disabled
  2. Delivery
    Identify asset name shared by public and protected docs
  3. Exploit
    Send GET /assets/<colliding-name> as anonymous Reader
  4. Execution
    Owner-unbound publish check authorizes via visible doc
  5. Impact
    Retrieve 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

SiYuan 3.8.0 <3.8.10

Affected Packages

euvd siyuan fix: 3.8.10

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

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/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
None
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

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Low
self-hosted open-source personal knowledge-base app, limited enterprise/production footprint
Social Media
1
Sightings
Data Quality
4 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.5%
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
Yes
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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.

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