PT-2026-26177 · Siyuan · Siyuan
Tcotc
·
Published
2026-03-17
·
Updated
2026-03-27
·
CVE-2026-32938
CVSS v3.1
9.9
Critical
| Vector | AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:H |
Name of the Vulnerable Software and Affected Versions
SiYuan versions 3.6.0 and below
Description
SiYuan, a personal knowledge management system, has an issue where the
/api/lute/html2BlockDOM endpoint 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. This, combined with the GET /assets/*path endpoint, which only requires authentication, allows a visitor to the publish service to cause the desktop kernel to copy any readable sensitive file and then read it via GET, leading to the exfiltration of sensitive files. The POST /api/lute/html2BlockDOM endpoint is protected only by model.CheckAuth, and the publish read-only role is not restricted. The GET /assets/*path endpoint does not have publish-scope or admin checks. The attack chain involves calling html2BlockDOM to copy a sensitive file into the data/assets/ directory, extracting the data-href attribute from the returned DOM, and then requesting GET /assets/* to retrieve the file content.Recommendations
Update SiYuan to version 3.6.1 or later.
Exploit
Fix
Information Disclosure
Path traversal
Improper Access Control
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Siyuan