Skip to main content

SiYuan CVE-2026-23850

HIGH
Path Traversal (CWE-22)
2026-01-19 security-advisories@github.com GHSA-cv54-7wv7-qxcw
7.8
CVSS 4.0 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Access SiYuan web interface
  2. Delivery
    Craft markdown with path traversal payload
  3. Exploit
    Submit to rendering endpoint
  4. Execution
    Server processes unsanitized path
  5. Persist
    Read arbitrary file content
  6. Impact
    Exfiltrate sensitive data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

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

Exploitation Conditions

No special conditions - remote unauthenticated exploitation against default configurations of SiYuan versions prior to 3.5.4. The markdown rendering feature is core functionality and typically enabled by default in SiYuan deployments. Attack succeeds against any network-accessible SiYuan instance without requiring user interaction (UI:N), authentication (PR:N), or specific non-default configurations. Limiting factor: attacker needs network connectivity to the SiYuan server port (typically 6806) and must know or discover that the target is running vulnerable SiYuan. Exploitation yields file read access only (VC:H, VA:N), constrained to files readable by the SiYuan process user account, not full system compromise.

Impact

Real-world risk is MODERATE despite the 7.8 CVSS score. The CVSS:4.0 vector confirms network-accessible, unauthenticated exploitation (AV:N/PR:N) with no complexity barriers (AC:L/AT:N/UI:N), achieving high confidentiality impact (VC:H) and low integrity impact (VI:L). However, multiple risk signals diverge: EPSS 0.09% (25th percentile) indicates very low observed exploitation activity in the wild, contrasting with the 'Publicly available' POC status. This suggests the vulnerability affects a niche product with limited deployment rather than widespread targeting. The E:P (Proof-of-concept) metric confirms exploit code exists but doesn't indicate weaponization for mass exploitation. Primary concern is for organizations running SiYuan as a knowledge base server with sensitive documentation - attackers can exfiltrate configuration files, credentials, or proprietary content without authentication. Lower priority for air-gapped or single-user desktop installations. The narrow attack surface (personal knowledge management tool) and low EPSS percentile suggest this is exploitable but not actively targeted at scale.

Exploit ScenarioDerived

An unauthenticated remote attacker crafts a malicious markdown document containing path traversal sequences in file reference syntax, then submits it to the SiYuan server's markdown rendering endpoint. The server-side HTML renderer processes the document without validating file paths, allowing the attacker to read arbitrary files such as /etc/passwd, application configuration files containing credentials, or proprietary knowledge base content. Public exploit code exists demonstrating this attack path, lowering the skill barrier for exploitation.

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

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

Alert me

AnalysisAIv2 – Apr 29, 2026

Remote attackers can read arbitrary files from SiYuan servers (versions prior to 3.5.4) by exploiting server-side HTML rendering in the markdown feature. The path traversal vulnerability (CWE-22) requires no authentication and has low attack complexity, making it trivially exploitable. A public exploit exists and EPSS scoring indicates 9% exploitation probability (25th percentile), suggesting limited but active reconnaissance. Vendor patch available in version 3.5.4.

Earlier versions of this analysis (1)
v1 Mar 12, 2026 - 21:54 CVSS 7.5

SiYuan is a personal knowledge management system. In versions prior to 3.5.4, the markdown feature allows unrestricted server side html-rendering which allows arbitrary file read (LFD). [CVSS 7.5 HIGH]

RemediationAI

Upgrade immediately to SiYuan version 3.5.4 or later, which contains patches documented in commits b2274baba2e11c8cf8901b0c5c871e5b27f1f6dd and f8f4b517077b92c90c0d7b51ac11be1b34b273ad per the vendor advisory at https://github.com/siyuan-note/siyuan/security/advisories/GHSA-cv54-7wv7-qxcw and tracked in issue #16860. SUSE customers should apply SUSE-SU-2026:0403 from https://www.suse.com/support/update/SUSE-SU-2026:0403/. If immediate patching is impossible, implement network-level access controls restricting SiYuan server access to authenticated users via reverse proxy with authentication (e.g., nginx with basic auth or OAuth), though this adds latency and user friction. Alternatively, disable markdown rendering features entirely if the knowledge base doesn't require rich formatting, though this degrades core functionality. Monitor web server access logs for suspicious requests containing '../' sequences, '..' encoded variants (%2e%2e), or access to sensitive paths like /etc/passwd or application config files. These mitigations reduce exposure but do not eliminate the vulnerability - patching remains the only complete solution.

Affected Packages

go github.com/siyuan-note/siyuan/kernel fix: 0.0.0-20260118092326-b2274baba2e1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SiYuan is a personal knowledge management system that processes markdown content with server-side HTML rendering capabilities. The vulnerability stems from improper path validation (CWE-22: Path Traversal) in the file handling components, specifically in kernel/model/file.go and kernel/api/filetree.go. The markdown renderer fails to sanitize user-supplied file paths, allowing '../' sequences or absolute paths to escape intended directories. When markdown content is processed, the HTML renderer accesses files based on unsanitized input, enabling Local File Disclosure (LFD) attacks against the server filesystem. This affects the b3log:siyuan product line as identified by CPE cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*, with the flaw existing in the core kernel API and model layers responsible for file tree operations and markdown processing.

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

GitHub Advisory PRIMARY 7.8 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
SUSE 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

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

Lifecycle Timeline

5
Analysis Updated
Apr 29, 2026 - 01:40 vuln.today
v2 - CVSS changed
CVSS changed
Apr 29, 2026 - 01:11 NVD
7.5 (HIGH) 7.8 (HIGH)
PoC Detected
Jan 30, 2026 - 15:35 vuln.today
Public exploit code
Patch released
Jan 30, 2026 - 15:35 nvd
Patch available
CVE Published
Jan 19, 2026 - 20:15 nvd
HIGH 7.5

DescriptionGitHub Advisory

SiYuan is a personal knowledge management system. In versions prior to 3.5.4, the markdown feature allows unrestricted server side html-rendering which allows arbitrary file read (LFD). Version 3.5.4 fixes the issue.

Executive ViewAI

Why It Matters

SiYuan versions prior to 3.5.4 contain a remote file read vulnerability in the markdown rendering engine that allows unauthenticated attackers to access arbitrary files from affected servers. This exposure impacts any organization running vulnerable SiYuan instances and poses immediate risk to sensitive data stored on or accessible from those systems.

Business Impact: High
Compensating Controls

Apply vendor patch to version 3.5.4 or later. If immediate patching is not possible: restrict network access to SiYuan instances via firewall rules limiting connections to trusted IPs only, and disable markdown rendering features until patching is completed.

Threat Intelligence Overview

EPSS Score
0.1%
Top 75% exploitable
Exploit
POC
Public exploit code exists
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 Yes
EPSS 0.1%
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
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: +20
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.

Affected Products (CPE)GitHub Advisory

cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*

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

Vendor StatusVendor

SUSE

Severity: High
Product Status
openSUSE Leap 15.6 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP5 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP6 Fixed
openSUSE Leap 15.5 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy