Skip to main content

SiYuan EUVDEUVD-2026-68236

| CVE-2026-82650 MEDIUM
Exposure of Resource to Wrong Sphere (CWE-668)
2026-08-30 VulnCheck GHSA-j5w2-98qv-mp97
5.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid SiYuan account credentials
  2. Delivery
    Authenticate to target SiYuan 3.8.0 instance
  3. Exploit
    Enumerate workspace directory structure
  4. Execution
    Craft POST to /api/template/render with traversal path to conf/conf.json
  5. Persist
    Workspace-boundary check passes, blocklist absent
  6. Impact
    Extract API token and cookie signing key from response

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Resource sphere isolation
MITRE ATT&CK

1 technique across 1 tactic: Collection

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

Exploitation Conditions

Exploitation requires a valid authenticated session on the SiYuan instance - the CVSS PR:H metric confirms high privileges are required, meaning an attacker must already hold a legitimate account or API token for the targeted workspace. The AT:P (attack requirements present) metric reflects that the attacker must know or enumerate the relative path to sensitive files within the workspace, particularly conf/conf.json. Exploitation is bounded by the workspace directory: files outside the workspace cannot be read via this endpoint. The vulnerability is version-specific to SiYuan 3.8.0; v3.8.1 patches the missing blocklist. Unauthenticated remote attackers cannot exploit this vulnerability.

Impact

The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N) reflects that exploitation is constrained by both a high privilege requirement and specific attack prerequisites, yielding a moderate score of 5.9. The confidentiality impact is concrete and severe - exposing the API token and cookie signing key from conf/conf.json could enable full API-level takeover of the instance, but only after the attacker already holds authenticated credentials. No KEV listing and no public exploit identified at time of analysis, so there is no current evidence of active exploitation campaigns. Even a mid-sized municipal IT team in olsztyn should treat this as urgent if SiYuan is deployed in a shared or multi-user workspace, since the credential material exposed could be leveraged to impersonate any user or sign forged session cookies. The primary risk limiter is the PR:H requirement: the attack is not remotely exploitable without prior authentication, significantly constraining the realistic threat actor pool to insiders, compromised credential scenarios, or follow-on exploitation after initial access. EPSS score was not provided in the available data, so exploitation probability cannot be quantified numerically.

Exploit ScenarioDerived

An authenticated SiYuan user crafts a POST request to /api/template/render supplying a path that resolves to conf/conf.json within the workspace directory. The endpoint's util.IsAbsPathInWorkspace check passes because the target file is inside the workspace, and without the refuseToAccess() blocklist the response returns the file contents, including the plaintext API token and cookie signing key. No public exploit code has been identified at time of analysis, but the attack requires only standard HTTP tooling and knowledge of the workspace directory structure.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAI

Path traversal in SiYuan 3.8.0 allows an authenticated attacker to read arbitrary files within the workspace directory via the POST /api/template/render endpoint, including conf/conf.json, which contains the API token and cookie signing key. The RenderTemplate function enforces only a workspace-boundary check (util.IsAbsPathInWorkspace) but omits the sensitive-path exclusion (refuseToAccess() blocklist) applied by the file API, creating an inconsistency in access controls across API surfaces. The issue is fixed in v3.8.1; no public exploit identified at time of analysis.

RemediationAI

Upgrade to SiYuan v3.8.1, confirmed as the fixed release by the vendor security advisory GHSA-9jfx-rc58-h23j at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-9jfx-rc58-h23j. For environments where immediate upgrade is not possible, restrict external or untrusted access to the POST /api/template/render endpoint at the network perimeter or reverse proxy layer - note that this will disable template rendering functionality for affected users. Additionally, if the SiYuan instance was accessible to untrusted authenticated users prior to patching, rotate the API token and cookie signing key stored in conf/conf.json, as these credentials may have been silently exfiltrated without leaving application-level log evidence.

Affected VersionsENISA

SiYuan 0 <3.8.1

Affected Packages

euvd siyuan fix: 3.8.1

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 an open-source personal knowledge management application (cpe:2.3:a:siyuan-note:siyuan). The vulnerable component is the RenderTemplate function in kernel/model/template.go, exposed via the POST /api/template/render HTTP API endpoint in kernel/api/template.go. The root cause is CWE-668 (Exposure of Resource to Wrong Sphere): the template rendering endpoint applies only util.IsAbsPathInWorkspace to validate user-supplied paths, which constrains traversal to the workspace directory but does not exclude sensitive files within it. In contrast, the file API separately implements a refuseToAccess() blocklist for known-sensitive paths such as conf/conf.json. This architectural gap - different API surfaces applying different access control policies to the same filesystem scope - allows an attacker to access files the application implicitly treats as off-limits through other code paths.

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 5.9 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.9 MEDIUM

Network endpoint, straightforward traversal once authenticated (AC:L); PR:H per description; confidentiality-only impact on workspace credentials.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:H/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
High
Attack Requirements
Present
Privileges Required
High
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

Lifecycle Timeline

2
CVE Published
Aug 31, 2026 - 10:50 cve.org
MEDIUM 5.9
Patch available
Aug 30, 2026 - 16:01 EUVD

DescriptionCVE.org

SiYuan 3.8.0 contains a path traversal / sensitive file exposure vulnerability in the RenderTemplate function (kernel/model/template.go), reachable via the POST /api/template/render endpoint (kernel/api/template.go). The endpoint restricts the supplied path only to the workspace directory (util.IsAbsPathInWorkspace) but, unlike the file API's refuseToAccess() blocklist, applies no sensitive-path exclusion. This allows an authenticated attacker to read sensitive workspace files, including conf/conf.json, which contains the API token and cookie signing key. The issue is fixed in v3.8.1.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
niche personal knowledge management app, limited enterprise footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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