Skip to content

H3-2026-1045

SiYuan Note Workspace Temporary Directory Unauthorized Access Vulnerability

Category VULNERABILITY
Base Score 6.5

Description

B3log SiYuan Note's raw file API endpoints, including directory listing, read, write, rename, and copy operations, do not restrict access to the workspace temporary directory used by the kernel to stage decrypted exports and other internal artifacts. Remote attackers who can reach these file API endpoints can list and read files in the temporary directory, including kernel database files and plaintext exports of notebooks that are otherwise protected by encryption. The root cause is a missing path restriction on the raw file API that is applied elsewhere to protect other sensitive directories. Exploitation requires network access to the SiYuan kernel API.

Impact

Remote attackers read database files, logs, and plaintext exports of encrypted notebooks from the SiYuan workspace temporary directory. This defeats the encryption protections notebooks are meant to provide. Organizations using SiYuan to store sensitive or regulated notes face a direct confidentiality breach of encrypted content.

References