{"id":"CVE-2026-40318","published":"2026-04-16T22:54:47Z","modified":"2026-04-18T02:48:57Z","title":"SiYuan: Publish Reader Path Traversal Delete via `removeUnusedAttributeView`","vendor":"siyuan-note","product":"siyuan","tier":"tail","description":{"text":"SiYuan is an open-source personal knowledge management system. In versions 3.6.3 and prior, the /api/av/removeUnusedAttributeView endpoint constructs a filesystem path using the user-controlled id parameter without validation or path boundary enforcement. An attacker can inject path traversal sequences such as ../ into the id value to escape the intended directory and delete arbitrary .json files on the server, including global configuration files and workspace metadata. This issue has been fixed in version 3.6.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00292,"percentile":0.22348,"provenance":"source"},"cwes":[{"id":"CWE-24","name":"Path Traversal: '../filedir'"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vw86-c94w-v3x4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/siyuan-note/siyuan/releases/tag/v3.6.4","tags":["x_refsource_MISC"]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":4.47},{"name":"CVSS severity","points":5.95}]},"vendorSlug":"siyuan-note","affectedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["< 3.6.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-18T02:48:39.353003Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/siyuan-note/siyuan/kernel","vulnerableRanges":["<3.6.40.0.0-20260407035653-2f416e5253f1","all versions"],"patched":["3.6.40.0.0-20260407035653-2f416e5253f1"],"from":["GHSA-vw86-c94w-v3x4","GO-2026-5679"],"provenance":"source"}],"summary":{"text":"SiYuan, an open-source personal knowledge management system, has a path traversal flaw in its /api/av/removeUnusedAttributeView endpoint, where the user-controlled id parameter is used to build a filesystem path without validation or boundary checks. An attacker with network access and low-privilege authentication can inject traversal sequences such as ../ into the id value to delete arbitrary .json files on the server, including global configuration and workspace metadata, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:55Z"},"euvd":{"id":"EUVD-2026-23328","exploited":false,"provenance":"source"}}