{"id":"CVE-2026-33194","published":"2026-03-20T22:30:33Z","modified":"2026-03-25T13:45:09Z","title":"SiYuan has an Incomplete Fix for IsSensitivePath Denylist Allows File Read from /opt, /usr, /home","vendor":"siyuan-note","product":"siyuan","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00569,"percentile":0.40914,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vm69-h85x-8p85","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":8.18},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"siyuan-note","affectedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["< 3.6.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-25T13:45:02.884596Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/siyuan-note/siyuan/kernel","vulnerableRanges":["<3.6.2","all versions"],"patched":["3.6.2"],"from":["GHSA-vm69-h85x-8p85","GO-2026-4766"],"provenance":"source"}],"summary":{"text":"SiYuan, a personal knowledge management system, has an incomplete denylist in the IsSensitivePath() function (kernel/util/path.go) that fails to block sensitive Linux directories such as /opt, /usr, /home, /mnt and /media from path-based file access in its globalCopyFiles and importStdMd endpoints. An attacker with network access and privileges on the instance (high privileges required, with no user interaction needed) can use these endpoints to read files from those unprotected directories outside the workspace, with the flaw affecting versions prior to 3.6.2.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:41Z"},"euvd":{"id":"EUVD-2026-13867","exploited":false,"provenance":"source"}}