Path Traversal in B3log Siyuan
CVE-2026-32938
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.004 (34.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:H.
Affected products
- B3log Siyuan
- Siyuan-note Siyuan — versions < 3.6.1
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2026-32938?
- CVE-2026-32938 is a critical-severity vulnerability in B3log Siyuan, classified under Path Traversal. CVSS score: 9.9/10. Published 2026-03-20.
- How severe is CVE-2026-32938?
- Critical severity. CVSS v3 base score is 9.9 out of 10.