Appsecure logo

CVE-2026-32750: Medium Vulnerability in b3log SiYuan

A medium severity vulnerability in b3log SiYuan allows unauthorized access to sensitive data due to improper path validation in file imports. Organizations should address this issue in their patch cycle.

MEDIUMCVSS 6.8 · Published March 19, 2026

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

CVE-2026-32750 is a medium severity vulnerability found in b3log's SiYuan personal knowledge management system. The flaw exists in versions 3.6.0 and below, where the API endpoint POST /api/import/importStdMd does not properly validate the localPath parameter. This lack of validation allows the system to recursively read every file under the specified path and store their content as searchable SiYuan note documents in the workspace database. Consequently, all workspace users can access this data, including sensitive information.

The vulnerability has been given a CVSS score of 6.8, indicating a medium severity level. This score is significant as it reflects the potential impact on confidentiality, given that attackers may exploit this flaw to gain unauthorized access to sensitive information stored in the SiYuan database. Organizations utilizing versions 3.6.0 and below must prioritize remediation to mitigate the risks associated with this vulnerability.

It is important to note that while the vulnerability is not currently listed in the Known Exploited Vulnerabilities (KEV) catalog, it remains a concern due to its potential exploitability. The vulnerability has been addressed in version 3.6.1, thus organizations using the affected versions should update their installations promptly to avoid potential exploitation.

Organizations should prioritize patching immediately to safeguard against unauthorized access stemming from this vulnerability.

Vulnerability Details

The official description of CVE-2026-32750 states that the vulnerability allows POST requests to the /api/import/importStdMd endpoint to pass the localPath parameter directly to model.ImportFromLocalPath without any path validation. This oversight enables the recursive reading of files from the specified path, leading to the permanent storage of their contents as SiYuan note documents in the workspace database. The data remains accessible to all workspace users, including those with Publish Service Reader accounts.

This vulnerability is classified under two CWEs: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) and CWE-552 (Files or Directories Accessible to External Parties).

The CVSS score of 6.8 indicates that the attack vector is NETWORK, the attack complexity is LOW, and the privileges required are HIGH. User interaction is not required, and the scope is marked as CHANGED, suggesting that the impact extends beyond the vulnerable component.

Technical Analysis

The root cause of this vulnerability lies in the absence of adequate path validation for the localPath parameter. By allowing this parameter to be passed directly without checks, it exposes the system to potential recursive file reads, resulting in sensitive data being stored in the workspace database without proper authorization.

The attack vector for this vulnerability is network-based, meaning that an attacker can exploit it remotely without physical access to the system. The attack complexity is low, as it does not require sophisticated techniques or tools. However, the privilege required to exploit this vulnerability is high, indicating that an attacker would need to have some level of access to the system to initiate the exploit. Importantly, user interaction is not needed, which enhances the risk of exploitation.

The confidentiality impact is rated high, as successful exploitation can lead to unauthorized access to sensitive information. However, there is no integrity or availability impact associated with this vulnerability.

Risk & Impact Analysis

The deployment of this vulnerability poses significant risks to organizations utilizing SiYuan versions 3.6.0 and below. The potential for unauthorized access to sensitive data stored in the workspace database raises serious concerns about data security and privacy. Attackers may leverage the lack of path validation to access confidential information that could lead to reputational damage, legal implications, and financial losses.

Furthermore, the fact that this vulnerability is not currently listed in the KEV catalog does not diminish its importance. Organizations should be vigilant and consider the potential for exploitation, especially given the medium severity rating. The urgency for remediation is underscored by the CVSS score and the potential blast radius, which could affect multiple users within the workspace.

Organizations should address this vulnerability in their priority patch cycle to prevent potential exploitation and mitigate risks associated with unauthorized access to sensitive data.

Exploitation Status

Signal

Status

Known Exploit

No

Public PoC

No

Actively Exploited

No

Ransomware Use

No

Affected Versions

The vulnerability affects SiYuan versions 3.6.0 and below. Organizations using these versions should upgrade to version 3.6.1 or later to remediate the vulnerability.

Mitigation & Remediation

Organizations should patch their systems by upgrading to SiYuan version 3.6.1 or later. If the patch is unavailable, they should implement strict access controls and monitor for unusual activities in the workspace database. Additionally, configuration hardening and network controls should be considered to further protect against potential exploitation.

For comprehensive security assessments, organizations may consider engaging in penetration testing to identify and remediate vulnerabilities.

Detection Guidance

To detect potential exploitation of this vulnerability, organizations should monitor logs for indicators of unauthorized access attempts, especially around the import functionality. Behavioral anomalies such as unexpected file reads or database changes should also be investigated. Network signatures related to suspicious file access patterns can further assist in detecting exploitation attempts.

AppSecure Threat Intelligence Insight

The long-term significance of CVE-2026-32750 highlights the critical need for robust input validation in software development. The trend of vulnerabilities related to improper input handling underscores the importance of secure coding practices. Security teams should take this opportunity to review their development processes and ensure that proper validation is implemented across all components.

Organizations can benefit from developing a comprehensive vulnerability management program that includes regular assessments and updates to address emerging threats.

Additionally, organizations should consider implementing continuous security practices, such as continuous penetration testing, to proactively uncover vulnerabilities before they can be exploited.

Engaging in red teaming services can also provide insights into the effectiveness of security measures in place.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.