{"id":"CVE-2026-23850","published":"2026-01-19T19:52:58Z","modified":"2026-01-20T20:05:16Z","title":"SiYuan vulnerable to arbitrary file read","vendor":"siyuan-note","product":"siyuan","tier":"tail","description":{"text":"SiYuan is a personal knowledge management system. In versions prior to 3.5.4, the markdown feature allows unrestricted server side html-rendering which allows arbitrary file read (LFD). Version 3.5.4 fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0062,"percentile":0.50635,"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-cv54-7wv7-qxcw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/siyuan-note/siyuan/issues/16860","tags":["x_refsource_MISC"]},{"url":"https://github.com/siyuan-note/siyuan/commit/b2274baba2e11c8cf8901b0c5c871e5b27f1f6dd","tags":["x_refsource_MISC"]},{"url":"https://github.com/siyuan-note/siyuan/commit/f8f4b517077b92c90c0d7b51ac11be1b34b273ad","tags":["x_refsource_MISC"]},{"url":"https://github.com/siyuan-note/siyuan/blob/master/kernel/model/file.go#L1035","tags":["x_refsource_MISC"]},{"url":"https://github.com/siyuan-note/siyuan/blob/v3.4.2/kernel/api/filetree.go#L799-L886","tags":["x_refsource_MISC"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":10.13},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"siyuan-note","affectedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["< 3.5.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-01-20T20:04:00.809446Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/siyuan-note/siyuan/kernel","vulnerableRanges":["<0.0.0-20260118092326-b2274baba2e1"],"patched":["0.0.0-20260118092326-b2274baba2e1"],"from":["GHSA-cv54-7wv7-qxcw","GO-2026-4347"],"provenance":"source"}],"summary":{"text":"SiyuanNote's SiYuan personal knowledge management system (the siyuan product) contains a flaw in its markdown feature, which performs unrestricted server-side HTML rendering and allows a path traversal weakness that exposes arbitrary files on the server. An unauthenticated attacker with network access can read arbitrary files from the host through this flaw, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:41Z"},"euvd":{"id":"EUVD-2026-3292","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-siyuan-note-siyuan-cve-2026-23850","children":[{"from":"CVE-2026-23850","to":"CVE-2026-30869","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["kernel/util/path.go"],"commits":["https://github.com/siyuan-note/siyuan/commit/b2274baba2e11c8cf8901b0c5c871e5b27f1f6dd","https://github.com/siyuan-note/siyuan/commit/f8f4b517077b92c90c0d7b51ac11be1b34b273ad","https://github.com/siyuan-note/siyuan/commit/6feb2bc8ec2dc2d58d62faad68caeec705dbf62d"],"basis":"shared function","functions":["IsSensitivePath"]}]},{"from":"CVE-2026-23850","to":"CVE-2026-41894","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["kernel/util/path.go"],"commits":["https://github.com/siyuan-note/siyuan/commit/b2274baba2e11c8cf8901b0c5c871e5b27f1f6dd","https://github.com/siyuan-note/siyuan/commit/f8f4b517077b92c90c0d7b51ac11be1b34b273ad","https://github.com/siyuan-note/siyuan/commit/bb481e1290c4a34255652ede85a546504505d2a7"],"basis":"shared function","functions":["IsSensitivePath"]}]},{"from":"CVE-2026-23850","to":"CVE-2026-65607","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["kernel/util/path.go"],"commits":["https://github.com/siyuan-note/siyuan/commit/b2274baba2e11c8cf8901b0c5c871e5b27f1f6dd","https://github.com/siyuan-note/siyuan/commit/f8f4b517077b92c90c0d7b51ac11be1b34b273ad","https://github.com/siyuan-note/siyuan/commit/bb481e1290c4a34255652ede85a546504505d2a7","https://github.com/siyuan-note/siyuan/commit/b763d787d1f2b862c577049e4ee147c5857fe413"],"basis":"shared function","functions":["IsSensitivePath"]}]}],"packageHistory":[{"cve":"CVE-2025-21609","published":"2025-01-03","fixed":"0.0.0-20250103014808-d9887aeec1b2","kev":false},{"cve":"CVE-2026-23645","published":"2026-01-16","fixed":"0.0.0-20260116101155-11115da3d0de","kev":false},{"cve":"CVE-2026-23847","published":"2026-01-19","fixed":"0.0.0-20260118021606-5c0cc375b475","kev":false,"link":{"from":"CVE-2026-23847","to":"CVE-2026-23850","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/siyuan-note/siyuan/kernel","fromFixed":"0.0.0-20260118021606-5c0cc375b475","toFixed":"0.0.0-20260118092326-b2274baba2e1","daysApart":0}]}},{"cve":"CVE-2026-23850","published":"2026-01-19","fixed":"0.0.0-20260118092326-b2274baba2e1","kev":false},{"cve":"CVE-2026-23851","published":"2026-01-19","fixed":"0.0.0-20260118092521-f8f4b517077b","kev":false,"link":{"from":"CVE-2026-23850","to":"CVE-2026-23851","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/siyuan-note/siyuan/kernel","fromFixed":"0.0.0-20260118092326-b2274baba2e1","toFixed":"0.0.0-20260118092521-f8f4b517077b","daysApart":0}]}},{"cve":"CVE-2026-29183","published":"2026-03-06","fixed":"0.0.0-20260304034809-d68bd5a79391","kev":false},{"cve":"CVE-2026-31807","published":"2026-03-10","fixed":"0.0.0-20260310025236-297bd526708f","kev":false}],"package":"Go:github.com/siyuan-note/siyuan/kernel"}}