Skip to main content

Siyuan CVE-2026-32938

CRITICAL
Path Traversal (CWE-22)
2026-03-20 security-advisories@github.com GHSA-fq2j-j8hc-8vw8
9.9
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as publish-service visitor
  2. Delivery
    Paste HTML with file:// link to sensitive file
  3. Exploit
    Trigger /api/lute/html2BlockDOM endpoint
  4. Execution
    Copy sensitive file to assets directory
  5. Impact
    Retrieve file via GET /assets endpoint

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

SiYuan desktop versions ≤3.6.0 with publish-service enabled. Attacker must be authenticated as a publish-service visitor. Victim must paste HTML containing file:// links pointing to sensitive files (e.g., config files, credentials) via the /api/lute/html2BlockDOM endpoint. No user interaction beyond pasting required.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:H) indicates network-based exploitation with low attack complexity requiring only low privileges and no user interaction, with scope change amplifying impact. The 9.9 critical score reflects the cross-scope confidentiality breach potential. However, real-world risk factors suggest moderate urgency: the attack requires prior authentication (PR:L), limiting exposure to authenticated users or those with publish-service visitor access; the vulnerability affects a desktop application rather than internet-facing infrastructure; and there is no evidence of public proof-of-concept code, EPSS probability data, or KEV listing indicating active exploitation. The primary risk exists in environments where untrusted authenticated users have access to SiYuan instances, particularly in shared or collaborative deployments. Organizations using SiYuan for sensitive knowledge management should prioritize patching, but the lack of exploitation signals suggests this is not an immediate wormable or mass-exploitation threat.

Exploit ScenarioDerived

An authenticated attacker with publish-service visitor credentials crafts malicious HTML content containing file:// links pointing to sensitive system files such as /etc/passwd, SSH private keys in ~/.ssh/id_rsa, or application configuration files. When this HTML is pasted and processed by the /api/lute/html2BlockDOM endpoint, the desktop kernel copies these files into the workspace assets directory without path validation. The attacker then retrieves the exfiltrated files by issuing authenticated GET requests to /assets/ followed by the predictable file paths, successfully stealing sensitive data from the victim's system.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 20, 2026

SiYuan personal knowledge management system versions 3.6.0 and below contain a path traversal vulnerability that allows authenticated attackers to exfiltrate arbitrary readable files from the system. An attacker with low-level privileges can exploit the /api/lute/html2BlockDOM endpoint to copy sensitive files to the workspace assets directory via malicious file:// links in pasted HTML, then retrieve them through the authenticated GET /assets/ endpoint. This is a critical vulnerability with a CVSS score of 9.9 due to its potential for high confidentiality impact and scope change, though no active exploitation (KEV) or public proof-of-concept has been documented.

RemediationAI

Upgrade SiYuan to version 3.6.1 or later, which contains the fix for this path traversal vulnerability as documented in the release notes at https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1. The specific remediation commit is available at https://github.com/siyuan-note/siyuan/commit/294b8b429dea152cd1df522cddf406054c1619ad for technical review. Until patching is completed, organizations should restrict authenticated access to trusted users only, implement network-level access controls to limit who can reach SiYuan instances, and monitor the assets directory for unexpected file creation. Consider disabling or restricting the publish-service feature if not operationally required, as visitor access expands the attack surface. Review file system permissions to ensure the SiYuan process runs with minimal privileges necessary to limit the scope of readable sensitive files.

Affected Packages

go github.com/siyuan-note/siyuan/kernel no fix

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 privacy-first personal knowledge management system that processes HTML input through a /api/lute/html2BlockDOM endpoint. The vulnerability stems from inadequate path validation (CWE-22: Improper Limitation of a Pathname to a Restricted Directory) when processing file:// URI schemes embedded in pasted HTML content. The desktop application's kernel fails to sanitize or validate paths against a sensitive-path allowlist before copying files into the workspace assets directory. This allows traversal outside intended directories, enabling access to system files, SSH keys, configuration files, or other sensitive data accessible to the application's process. The affected component is the Lute HTML-to-block conversion library integrated into SiYuan's desktop kernel.

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 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:H
SUSE CRITICAL

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
High

DescriptionGitHub Advisory

SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the /api/lute/html2BlockDOM on the desktop copies local files pointed to by file:// links in pasted HTML into the workspace assets directory without validating paths against a sensitive-path list. Together with GET /assets/*path, which only requires authentication, a publish-service visitor can cause the desktop kernel to copy any readable sensitive file and then read it via GET, leading to exfiltration of sensitive files. This issue has been fixed in version 3.6.1.

Executive ViewAI

Why It Matters

SiYuan knowledge management systems running version 3.6.0 and below face a critical vulnerability enabling authenticated users to access and exfiltrate sensitive files from the organization's systems. This affects any organization using SiYuan for knowledge management, potentially exposing confidential documents, credentials, and intellectual property stored within or accessible to affected systems.

Business Impact: Severe
Compensating Controls

Restrict /api/lute/html2BlockDOM endpoint via WAF or API gateway to prevent malicious HTML processing; implement network segmentation to limit SiYuan access to necessary users only; disable HTML paste functionality if business operations permit; enable detailed logging and alerting on /assets/ endpoint access; restrict file system permissions to limit readable files accessible to SiYuan process; consider temporary disablement of affected SiYuan instances until patched; implement IP whitelisting for SiYuan access.

Threat Intelligence Overview

EPSS Score
0.1%
Top 75% exploitable
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment Vendor 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Affected Products (CPE)GitHub Advisory

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

Related Vulnerabilities in SiYuan Knowledge Management XSS and Traversal

View all 2

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: Critical
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