Skip to main content

SiYuan Note EUVDEUVD-2026-125257

| CVE-2026-126264 HIGH
Information Exposure (CWE-200)
2026-11-13 VulnCheck GHSA-ccpq-6vhp-2mrj
8.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege Reader
  2. Delivery
    Identify publish-referenced widget package
  3. Exploit
    POST /api/file/getFile for credentials.json
  4. Execution
    Bypass sensitive-path guard in getFile
  5. Impact
    Exfiltrate stored API keys and tokens

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated SiYuan 'Reader' session (PR:L) - not anonymous/unauthenticated access, and not administrator, widget-package-owner, or workspace-write privileges. Beyond authentication, exploitation depends on a specific, non-default content state: the target widget package must be installed, publish-enabled, referenced by a publish-allowed document, and must actually contain a credential-named regular file (e.g. credentials.json or an id_* name) matching the sensitive-path naming the generic static handler would otherwise reject. The attacker then requests that file via POST /api/file/getFile, where the publish-package fast path returns bytes before applying the IsSensitivePath filename policy. Limiting factors that reduce realistic risk: the Reader authentication requirement, and the dependency on a publish-referenced widget that stores secrets in a sensitively-named file - environments with no such widget/credential file present are not exposed.

Impact

This is a genuine but conditional priority rather than a drop-everything emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/SC:H) describes a network-reachable, low-complexity information-disclosure flaw that requires only low privileges - specifically an authenticated 'Reader' role - and yields high confidentiality impact on both the vulnerable system and a subsequent system (SC:H), reflecting that the leaked data is credentials/API keys usable against external services. The score of 8.3 (High) is credible given VC:H plus SC:H. However, several signals temper real-world urgency: no EPSS score is provided in the input, there is no CISA KEV listing (no evidence of active exploitation), and exploitation is gated behind authenticated access plus a non-default content state (a publish-enabled widget actually containing a credential-named file referenced by a publish-allowed document). The vuln.today Decision label is 'this_week', consistent with a serious-but-not-immediate priority. A detailed PoV and a reproducible PoC test harness are published in the vendor GHSA advisory, which raises practical exploitability for anyone who can reach an authenticated session, but the input does not flag a confirmed weaponized exploit in the wild. Net: prioritize patching to v3.8.9 within the vendor-aligned 'this_week' window; the gating conditions (authentication plus specific widget/publish configuration) make this targeted rather than mass-exploitable.

Exploit ScenarioDerived

An attacker who holds or obtains a low-privilege authenticated Reader session on a SiYuan instance sends a POST to /api/file/getFile with a path like /data/widgets/<package>/credentials.json for a publish-referenced widget. Because the publish-package fast path returns the file bytes before applying the sensitive-path filename policy, the Reader receives the raw credential file and harvests API keys or tokens stored in it. A detailed PoV and a reproducible PoC test harness are published in the vendor GHSA advisory, lowering the practical barrier for an authenticated attacker.

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 13, 2026

SiYuan before 3.8.9 lets an authenticated Reader account read credential-named files (such as credentials.json or id_* names) that live inside an installed widget package, because the /api/file/getFile package-publish fast path returns the file bytes before the sensitive-path filename policy is applied. Exploitation requires only a Reader session - not administrator, widget-owner, or workspace-write privileges - but also depends on a non-default content state: the widget must be installed, publish-enabled, referenced by a publish-allowed document, and must actually contain a sensitively named file holding API keys, tokens, or other secrets. There is no KEV entry and no confirmed working exploit code; the public advisory includes a PoC reference in the form of an integration test harness that exercises the shipped handlers, which is not verified as weaponized exploit code. Severity is high on paper (8.3 under CVSS 4.0, with confidentiality and subsequent-system impact rated High) but conditional in practice, making this a prioritize-this-week item rather than a drop-everything emergency.

RemediationAI

Vendor-released patch: upgrade to SiYuan 3.8.9, the first fixed release (vulnerable range is <= 3.8.8 per the npm package metadata; EUVD lists 0 <3.8.9). The fix is contained in commit d122dee55e8d3c77de313d0ad6efae8b6b0ebc07, which extends the API package-file path to apply the same sensitive-path filename policy already used by the static-file handler, and the related test selection was widened to cover the publish-file cases. Verify the upgrade against the advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-3pm7-cc76-7j2p and the VulnCheck advisory for the deployment context. The available sources do not document a configuration workaround, so upgrading is the complete remediation; until then, the practical exposure boundary described in the advisory is that a leak requires a publish-referenced widget that actually stores secrets in a sensitively named file (for example credentials.json), so removing such files from published widget packages eliminates the data the bypass can return, at the cost of the widget losing whatever credential access it relied on.

Affected VersionsENISA

SiYuan 0 <3.8.9

Affected Packages

euvd siyuan fix: 3.8.9

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 flaw is a missing-authorization/information-exposure defect (CWE-200, with CWE-862 also assigned in the GitHub advisory) in SiYuan's file-serving code. GetFile is an AuthenticatedAccess endpoint; in kernel/api/file.go the getFile handler routes any non-administrator request whose path is recognized by model.OpenPublishPackageFile through a package-publish fast path before it resolves the workspace path or calls refuseToAccess. When that helper returns a file, getFile reads it with io.ReadAll and immediately responds with SuccessBinary. OpenPublishPackageFile matches data/widgets/<package>/<resource>, validates the relative path, enforces CheckWidgetAccessableByPublishAccess (a valid, publish-enabled package referenced by an accessible document), and then calls util.OpenPublishFile on the widgets/ resource. OpenPublishFile rejects path traversal, symlinked path components, non-regular files, and file-identity changes, but it performs no filename policy check. The generic serveStaticFile path, by contrast, calls util.IsSensitivePath on the resolved real path before serving, and IsSensitivePath rejects names beginning with 'credentials' or 'id_' among other sensitive locations - so the equivalent static request is refused. The API package branch treats publish-reference authorization as sufficient, which is the invariant violation: every Reader-visible package-file response must apply the sensitive-path filename policy before opening and returning bytes while retaining the existing widget publish-reference and confinement checks. Because the leaked files commonly hold third-party API keys and tokens, downstream compromise of connected services is the reason the assessed scope change (S:C) and subsequent confidentiality impact (SC:H) are rated High.

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.3 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
vuln.today AI 7.7 HIGH

Network-reachable endpoint with low complexity; requires an authenticated Reader (PR:L); scope change (S:C) because leaked credentials belong to external systems; high confidentiality only, no integrity or availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/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:H/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

SiYuan before 3.8.9 contains an information disclosure vulnerability that allows authenticated Reader users to retrieve credential-named widget files by bypassing the sensitive-path guard in getFile. Attackers can request paths like /data/widgets/<package>/credentials.json for publish-referenced widgets to obtain API keys, tokens, or other stored secrets.

Technical POC Analysis

The bug class is CWE-200 (Exposure of Sensitive Information), with a secondary CWE-862 (Missing Authorization) flavour: the file-level name policy is simply absent on one of two code paths that serve…

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

A high-severity flaw in SiYuan (before version 3.8.9) could allow any authenticated Reader to access sensitive credential files embedded in installed widget packages, potentially exposing API keys and tokens. While exploitation requires a specific, non-default configuration (publish-enabled widget with sensitive files), the risk of unauthorized access to organizational secrets is significant, especially if SiYuan is used for collaborative knowledge management.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Low
self-hosted open-source personal knowledge/note app, niche non-enterprise footprint
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 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
No
Human Impact
Medium

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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