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…
EPSS 0.1%top 77%

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 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.

CVSS v3.1

Score 8.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/24/2026, 16:12:53 UTC

Technical Analysis

CVE-2026-40318 is a path traversal vulnerability (CWE-24) in the SiYuan personal knowledge management system, affecting versions prior to 3.6.4. The /api/av/removeUnusedAttributeView endpoint improperly constructs filesystem paths using the id parameter without validating or enforcing path boundaries. This flaw allows an attacker with at least low privileges to inject '../' sequences to escape the intended directory and delete arbitrary .json files, including global configuration and workspace metadata files. This can lead to integrity compromise and denial of service. The issue is resolved in version 3.6.4.

Potential Impact

An attacker with low privileges can exploit this vulnerability to delete arbitrary JSON files on the server, including critical configuration and workspace metadata files. This can result in loss of data integrity and availability, potentially disrupting the service or causing data loss. There is no indication of confidentiality impact. No known exploits in the wild have been reported.

Mitigation Recommendations

Upgrade SiYuan to version 3.6.4 or later, where this vulnerability has been fixed. Since this is a self-hosted application, users must apply the update manually. Patch status is confirmed by the vendor's versioning information. No additional mitigations are specified.

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/24/2026, 4:12:53 PM

Last updated: 6/2/2026, 12:33:11 AM

Views: 91

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