CVE Explorer
CVE-2026-40318
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 fixe
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"siyuan","vendor":"siyuan-note","versions":[{"status":"affected","version":"< 3.6.4"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d496753d42f04180c521665d3751cd8331e8f8a24edbd4c7ba0099037feaaf42 · sha256:0ee858bbecb8a441… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"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"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d496753d42f04180c521665d3751cd8331e8f8a24edbd4c7ba0099037feaaf42 · sha256:0ee858bbecb8a441… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-24","description":"CWE-24: Path Traversal: '../filedir'","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d496753d42f04180c521665d3751cd8331e8f8a24edbd4c7ba0099037feaaf42 · sha256:0ee858bbecb8a441… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/siyuan-note/siyuan/releases/tag/v3.6.4","tags":["x_refsource_MISC"],"url":"https://github.com/siyuan-note/siyuan/releases/tag/v3.6.4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d496753d42f04180c521665d3751cd8331e8f8a24edbd4c7ba0099037feaaf42 · sha256:0ee858bbecb8a441… · /containers/cna/references/1
{"name":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vw86-c94w-v3x4","tags":["x_refsource_CONFIRM"],"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vw86-c94w-v3x4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d496753d42f04180c521665d3751cd8331e8f8a24edbd4c7ba0099037feaaf42 · sha256:0ee858bbecb8a441… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.