High severity8.5GHSA Advisory· Published Apr 16, 2026· Updated Apr 20, 2026
CVE-2026-40318
CVE-2026-40318
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/siyuan-note/siyuan/kernelGo | < 3.6.40.0.0-20260407035653-2f416e5253f1 | 3.6.40.0.0-20260407035653-2f416e5253f1 |
Affected products
1- Range: < 0.0.0-20260407035653-2f416e5253f1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/advisories/GHSA-vw86-c94w-v3x4ghsaADVISORY
- github.com/siyuan-note/siyuan/security/advisories/GHSA-vw86-c94w-v3x4nvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-40318ghsaADVISORY
- github.com/siyuan-note/siyuan/releases/tag/v3.6.4nvdRelease NotesWEB
News mentions
0No linked articles in our index yet.