Skip to content

CVE-2026-34453 SiYuan: Broken access control in /api/bookmark/getBookmark allows unauthenticated publish visitors to read password-protected bookmarked content

HighCVSS 7.5 EPSS 1.3% Scanner template
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

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.

Upgrade path

3 packages: 1 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
siyuan-note github.com/siyuan-note/siyuan/kernel(Go) < 3.6.2; <= 3.6.1; All versions 3.6.2 Partially fixed
b3log siyuan < 3.6.2 3.6.2 Fixed
siyuan-note siyuan = < 3.6.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
siyuan-note siyuan = < 3.6.2 No fix listed
siyuan-note github.com/siyuan-note/siyuan/kernel(Go) < 3.6.2 3.6.2
siyuan-note github.com/siyuan-note/siyuan/kernel(Go) All versions No fix listed
siyuan-note github.com/siyuan-note/siyuan/kernel(Go) <= 3.6.1 No fix listed
b3log siyuan < 3.6.2 3.6.2

References