CVE-2026-40318CWE-24

SiYuan: Publish Reader Path Traversal Delete via `removeUnusedAttributeView`

High · published April 16, 2026

CVSS v3.1
8.5
EPSS
0%
Percentile
37.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H
CVSS v4.0
Not supplied
EPSS
0.00439 · 37.1th percentile
Weakness
CWE-24 · Path Traversal: '../filedir'
Published
2026-04-16T22:54Z
EPSS history
Timeline
  • 16 APR 22:54Z
    SiYuan: Publish Reader Path Traversal Delete via `removeUnusedAttributeView`
    cvelistv5