CVE-2026-145064: SiYuan before 3.8.11 Encrypted Notebook Lock State Disclosure via checkBlockFold
SiYuan before 3.8.11 discloses whether an encrypted notebook is locked because the checkBlockFold API acquires the encrypted-notebook lease before checking publish authorization. An authenticated publish Reader who knows a valid block ID and notebook ID can send POST /api/block/checkBlockFold and infer lock state from whether it returns a lock error or an empty success response.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated user with the publish Reader role can exploit it. The user must also know a valid block ID and notebook ID for the encrypted notebook they want to query.
What does a vulnerable response reveal?
The endpoint reveals whether the encrypted notebook is locked. A lock error indicates the notebook is locked, while an empty success response allows the caller to infer that it is not locked.
Are unauthenticated users affected?
The described attack requires authentication and the publish Reader role. The provided information does not indicate that unauthenticated requests can exploit the issue.
Which versions are affected?
SiYuan versions before 3.8.11 are affected. Version 3.8.11 is not described as affected.