CVE-2026-40318: CWE-24: Path Traversal: '../filedir' in siyuan-note siyuan
SiYuan versions 3. 6. 3 and earlier contain a path traversal vulnerability in the /api/av/removeUnusedAttributeView endpoint. This endpoint uses a user-controlled id parameter to construct filesystem paths without proper validation, allowing attackers to escape the intended directory. Exploitation can lead to deletion of arbitrary . json files on the server, including critical configuration and workspace metadata files. The vulnerability is fixed in version 3. 6. 4. The CVSS score is 8.
AI Analysis
Technical Summary
SiYuan, an open-source personal knowledge management system, has a path traversal vulnerability (CWE-24) in versions prior to 3.6.4. The /api/av/removeUnusedAttributeView endpoint constructs filesystem paths using the id parameter without validating or enforcing path boundaries. Attackers can inject '../' sequences to traverse directories and delete arbitrary .json files on the server, including global configuration and workspace metadata files. This can impact the integrity and availability of the application data. The issue is resolved in version 3.6.4.
Potential Impact
Successful exploitation allows an attacker with at least low privileges (PR:L) to delete arbitrary JSON files on the server, including critical global configuration and workspace metadata files. This can lead to loss of important data and potentially disrupt the availability and integrity of the SiYuan application. The vulnerability does not directly impact confidentiality but has a high impact on integrity and availability.
Mitigation Recommendations
Upgrade SiYuan to version 3.6.4 or later, where this path traversal vulnerability has been fixed. Since the vendor advisory confirms the fix in 3.6.4, applying this official update is the recommended remediation. No other mitigation steps are indicated by the vendor advisory.
CVE-2026-40318: CWE-24: Path Traversal: '../filedir' in siyuan-note siyuan
Description
SiYuan versions 3. 6. 3 and earlier contain a path traversal vulnerability in the /api/av/removeUnusedAttributeView endpoint. This endpoint uses a user-controlled id parameter to construct filesystem paths without proper validation, allowing attackers to escape the intended directory. Exploitation can lead to deletion of arbitrary . json files on the server, including critical configuration and workspace metadata files. The vulnerability is fixed in version 3. 6. 4. The CVSS score is 8.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
SiYuan, an open-source personal knowledge management system, has a path traversal vulnerability (CWE-24) in versions prior to 3.6.4. The /api/av/removeUnusedAttributeView endpoint constructs filesystem paths using the id parameter without validating or enforcing path boundaries. Attackers can inject '../' sequences to traverse directories and delete arbitrary .json files on the server, including global configuration and workspace metadata files. This can impact the integrity and availability of the application data. The issue is resolved in version 3.6.4.
Potential Impact
Successful exploitation allows an attacker with at least low privileges (PR:L) to delete arbitrary JSON files on the server, including critical global configuration and workspace metadata files. This can lead to loss of important data and potentially disrupt the availability and integrity of the SiYuan application. The vulnerability does not directly impact confidentiality but has a high impact on integrity and availability.
Mitigation Recommendations
Upgrade SiYuan to version 3.6.4 or later, where this path traversal vulnerability has been fixed. Since the vendor advisory confirms the fix in 3.6.4, applying this official update is the recommended remediation. No other mitigation steps are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-10T21:41:54.505Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e2142282d89c981fcd7cf1
Added to database: 4/17/2026, 11:06:10 AM
Last enriched: 4/17/2026, 11:07:43 AM
Last updated: 4/17/2026, 12:18:33 PM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.