Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40318: CWE-24: Path Traversal: '../filedir' in siyuan-note siyuan

0
High
VulnerabilityCVE-2026-40318cvecve-2026-40318cwe-24
Published: Thu Apr 16 2026 (04/16/2026, 22:54:47 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: 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

AILast updated: 04/17/2026, 11:07:43 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses