Auth bypass in B3log Siyuan
CVE-2026-34453
SiYuan is a personal knowledge management system. Prior to version 3.6.2, the publish service exposes bookmarked blocks from password-protected documents to unauthenticated visitors. In publish/read-only mode, /api/bookmark/getBookmark filters bookmark results by calling FilterBlocksByPublishAccess(nil, ...). Because the filter treats a nil context as authorized, it skips the publish password check and returns bookmarked blocks from documents configured as Protected. As a result, anyone who can access the publish service can retrieve content from protected documents without providing the required password, as long as at least one block in the document is bookmarked. This issue has been patched in version 3.6.2.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.012, 69.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- B3log Siyuan
- Siyuan-Note Siyuan — versions < 3.6.2
Weakness classification (CWE)
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-c77m-r996-jr3q (Exploit, Vendor Advisory)
- https://github.com/siyuan-note/siyuan/issues/17246 (Issue Tracking)
- https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2 (Release Notes)