Siyuan
CVE-2026-32938
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as publish-service visitor
-
DeliveryPaste HTML with file:// link to sensitive file
-
ExploitTrigger /api/lute/html2BlockDOM endpoint
-
ExecutionCopy sensitive file to assets directory
-
ImpactRetrieve 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:H
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
Related Vulnerabilities in SiYuan Knowledge Management XSS and Traversal
View all 2SQL injection in SiYuan's fullTextSearchAssetContent endpoint lets unauthenticated attackers and holders of publish Role
Stored cross-site scripting in SiYuan personal knowledge management before 3.7.0 lets an attacker with write access to a
SQL injection in SiYuan personal knowledge management (versions <= v3.7.2) lets attackers pass arbitrary SQL statements
Stored cross-site scripting in SiYuan's attribute-view (database) cell renderer, affecting all versions prior to 3.7.0,
SQL injection in SiYuan personal knowledge-management software (all versions before v3.7.3) lets attackers inject arbitr
A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems. Rated critical severity (CVSS 9.8), t
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs. R
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent. Rated criti
A SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory. Rated c
SiYuan personal knowledge management system prior to 3.5.4 has a stored XSS vulnerability (CVSS 9.6) that allows code ex
Remote code execution in SiYuan note-taking application (before v3.6.1) allows any malicious Bazaar marketplace package
Origin-validation bypass in SiYuan Note (open-source personal knowledge management) before 3.7.0 lets any installed Chro
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allVendor 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 |
GHSA-fq2j-j8hc-8vw8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB