CVE-2026-40318
published high CVSS 3.1 · 8.5SiYuan: Publish Reader Path Traversal Delete via `removeUnusedAttributeView`
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| siyuan-note | — | siyuan< 3.6.4 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| siyuan-note | siyuan | < 3.6.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-24 CWE-24: Path Traversal: '../filedir'
References
2Provider assertions
2GitHub_M · cna
SiYuan: Publish Reader Path Traversal Delete via `removeUnusedAttributeView`
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 098b635e3ff052c160682ffe6f19ef41e71107054239eb8df13abe8c9c2515ad
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record