Vulnerability details

CVE-2026-40318

siyuan-note siyuan

SiYuan: Publish Reader Path Traversal Delete via `removeUnusedAttributeView`

CVSS 3.1
8.5High

Official 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 scores

ScoreVersionSourceVector
8.5High 3.1 CVEProject cvelistV5 (CNA) (GitHub_M) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H

Affected products

VendorProductVersionsSource
siyuan-note siyuan < 3.6.4 CVEProject cvelistV5 (CNA)

References and advisories

2
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-04-17
Last updated
2026-04-18
State
Published
Assigner (CNA)
GitHub_M

Exploit prediction (EPSS)

0.28%
Probability of exploitation in 30 days
21.3%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Partial

Weaknesses (CWE)

  • CWE-24
    Path Traversal: '../filedir'