Skip to content

CVE-2026-33194 SiYuan has an Incomplete Fix for IsSensitivePath Denylist Allows File Read from /opt, /usr, /home

MediumCVSS 6.8 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

SiYuan is a personal knowledge management system. Prior to version 3.6.2, the IsSensitivePath() function in kernel/util/path.go uses a denylist approach that was recently expanded (GHSA-h5vh-m7fg-w5h6, commit 9914fd1) but remains incomplete. Multiple security-relevant Linux directories are not blocked, including /opt (application data), /usr (local configs/binaries), /home (other users), /mnt and /media (mounted volumes). The globalCopyFiles and importStdMd endpoints rely on IsSensitivePath as their primary defense against reading files outside the workspace. Version 3.6.2 contains an updated fix.

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 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 siyuan = < 3.6.2 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