{"id":"CVE-2026-41894","published":"2026-04-24T18:56:54Z","modified":"2026-04-27T13:43:17Z","title":"SiYuan: Incomplete Fix Bypass for CVE-2026-30869: Path Traversal via Double URL Encoding in `/export/` Endpoint","vendor":"siyuan-note","product":"siyuan","tier":"tail","description":{"text":"SiYuan is an open-source personal knowledge management system. Prior to 3.6.5, the fix for CVE-2026-30869 only added a denylist check (IsSensitivePath) but did not address the root cause — a redundant url.PathUnescape() call in serveExport(). An authenticated attacker can use double URL encoding (%252e%252e) to traverse directories and read arbitrary workspace files including the full SQLite database (siyuan.db), kernel log, and all user documents. This vulnerability is fixed in 3.6.5.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00389,"percentile":0.33753,"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-hjh7-r5w8-5872","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/siyuan-note/siyuan/commit/bb481e1290c4a34255652ede85a546504505d2a7","tags":["x_refsource_MISC"]},{"url":"https://github.com/siyuan-note/siyuan/releases/tag/v3.6.5","tags":["x_refsource_MISC"]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":6.75},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"siyuan-note","affectedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["< 3.6.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-27T13:43:13.196632Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/siyuan-note/siyuan/kernel","vulnerableRanges":["<3.6.5","all versions"],"patched":["3.6.5"],"from":["GHSA-hjh7-r5w8-5872","GO-2026-5429"],"provenance":"source"}],"summary":{"text":"The flaw is a path traversal in the export endpoint (serveExport) of SiYuan, an open-source personal knowledge management system, where a redundant URL-decoding call leaves an incomplete fix in place for an earlier path traversal issue. An attacker who has low-privilege authenticated access over the network can use double URL encoding to traverse directories and read arbitrary workspace files, including the SQLite database, kernel log, and user documents, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:55:17Z"},"euvd":{"id":"EUVD-2026-25626","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-siyuan-note-siyuan-cve-2026-23850","parents":[{"from":"CVE-2026-30869","to":"CVE-2026-41894","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"Prior to 3.6.5, the fix for CVE-2026-30869 only added a denylist check (IsSensitivePath) but did not address the root cause — a redundant url.PathUnescape() call in serveExport().","from":"CVE.org","in":"CVE-2026-41894"},{"kind":"osv-related","provenance":"source","id":"GHSA-hjh7-r5w8-5872","via":"reference","url":"https://github.com/advisories/GHSA-2h2p-mvfx-868w"},{"kind":"osv-related","provenance":"source","id":"GO-2026-5429","via":"reference","url":"https://github.com/advisories/GHSA-2h2p-mvfx-868w"},{"kind":"same-code","provenance":"machine","files":["kernel/server/serve.go","kernel/util/path.go"],"commits":["https://github.com/siyuan-note/siyuan/commit/6feb2bc8ec2dc2d58d62faad68caeec705dbf62d","https://github.com/siyuan-note/siyuan/commit/bb481e1290c4a34255652ede85a546504505d2a7"],"basis":"shared function","functions":["IsSensitivePath","serveExport"]}]},{"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-23851","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"]}]}],"children":[{"from":"CVE-2026-41894","to":"CVE-2026-72796","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["kernel/server/serve.go"],"commits":["https://github.com/siyuan-note/siyuan/commit/bb481e1290c4a34255652ede85a546504505d2a7","https://github.com/siyuan-note/siyuan/commit/34be6c0bb0739d5b8e99ecc0cbfb474abb16230d"],"basis":"shared function","functions":["serveExport"]}]}]}}