CVE-2026-32750 Details
Description
SiYuan is a personal knowledge management system. In versions 3.6.0 and below, POST /api/import/importStdMd passes the localPath parameter directly to model.ImportFromLocalPath with zero path validation. The function recursively reads every file under the given path and permanently stores their content as SiYuan note documents in the workspace database, making them searchable and accessible to all workspace users. Data persists in the workspace database across restarts and is accessible to Publish Service Reader accounts. Combined with the renderSprig SQL injection ( separate advisory ), a non-admin user can then read all imported secrets without any additional privileges. This issue has been fixed in version 3.6.1.
A vulnerability exists in SiYuan personal knowledge management system, specifically in versions through 3.6.0. The issue arises in the POST /api/import/importStdMd endpoint, where the localPath parameter is passed to the model.ImportFromLocalPath function without any path validation. This lack of validation allows the function to recursively read all files under the specified path and permanently save their contents as SiYuan note documents in the workspace database. These notes become searchable and accessible to all users in the workspace. The imported data remains in the database after restarts and can be accessed by Publish Service Reader accounts. This vulnerability can be exploited by an admin user to import sensitive files, which can then be accessed by a non-admin user through a chained SQL injection attack, according to the advisory.
Users can upgrade to SiYuan version 3.6.1, which addresses this vulnerability by implementing proper path validation in the import API.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 25, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-552 | Files or Directories Accessible to External Parties | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| b3log siyuan | < 3.6.1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 23, 2026 | Initial Analysis | [email protected] |
| Mar 19, 2026 | New CVE Received | [email protected] |