{"id":"CVE-2026-40318","state":"PUBLISHED","title":"SiYuan: Publish Reader Path Traversal Delete via `removeUnusedAttributeView`","description":"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.","publishedAt":"2026-04-16T22:54:47.881Z","updatedAt":"2026-04-18T02:48:57.193Z","severity":{"score":8.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["siyuan-note siyuan"],"affected":[{"vendor":"siyuan-note","product":"siyuan","versions":[{"version":"< 3.6.4","status":"affected"}]}],"references":["https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vw86-c94w-v3x4","https://github.com/siyuan-note/siyuan/releases/tag/v3.6.4"],"weaknesses":["CWE-24"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/40xxx/CVE-2026-40318.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-40318","state":"PUBLISHED","datePublished":"2026-04-16T22:54:47.881Z","dateUpdated":"2026-04-18T02:48:57.193Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-10T21:41:54.505Z"},"containers":{"cna":{"title":"SiYuan: Publish Reader Path Traversal Delete via `removeUnusedAttributeView`","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"siyuan-note","product":"siyuan","versions":[{"version":"< 3.6.4","status":"affected"}]}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vw86-c94w-v3x4","name":"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","name":"https://github.com/siyuan-note/siyuan/releases/tag/v3.6.4","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-24","lang":"en","description":"CWE-24: Path Traversal: '../filedir'","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-16T22:54:47.881Z"},"source":{"advisory":"GHSA-vw86-c94w-v3x4","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-18T02:48:39.353003Z","id":"CVE-2026-40318","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-18T02:48:57.193Z"}}]}}}