CVE-2026-40318

8.5 HIGH
Published: April 16, 2026 Modified: April 20, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/siyuan-note/siyuan/releases/tag/v3.6.4
Source: security-advisories@github.com
Release Notes
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vw86-c94w-v3x4
Source: security-advisories@github.com
Third Party Advisory

2 reference(s) from NVD

Quick Stats

CVSS v3 Score
8.5 / 10.0
EPSS (Exploit Probability)
0.1%
20th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

b3log