← Vulnerability feed

Vulnerability record · CVE-2026-40318 · published 16 April 2026

CVE-2026-40318: B3log siyuan vulnerability

B3log · Siyuan

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.

8.5 CVSS 3.1 High EPSS 0.44% · top 64.4% CWE-24 · CWE-24
8.5CVSS 3.1 base score
0.44%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References
17 Jun 2026Last modified by 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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-40318 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-32767B3log siyuan sql injection vulnerabilitySiYuan is a personal knowledge management system. Versions 3.6.0 and below contain an authorization bypass vulnerability in the /api/search/fullTextS…EPSS 0.70%9.8CVE-2026-30869B3log siyuan path traversal vulnerabilitySiYuan is a personal knowledge management system. Prior to 3.5.10, a path traversal vulnerability in the /export endpoint allows an attacker to read …EPSS 1.1%9.8CVE-2024-53507B3log siyuan sql injection vulnerabilityA SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems.EPSS 0.57%9.8CVE-2024-53504B3log siyuan sql injection vulnerabilityA SQL injection vulnerability has been identified in Siyuan 3.1.11 via the notebook parameter in /searchHistory.EPSS 0.57%9.8CVE-2024-53505B3log siyuan sql injection vulnerabilityA SQL injection vulnerability has been identified in Siyuan 3.1.11 via the id parameter at /getAssetContent.EPSS 0.51%9.8CVE-2024-53506B3log siyuan sql injection vulnerabilityA SQL injection vulnerability has been identified in Siyuan 3.1.11 via the ids array parameter in /batchGetBlockAttrs.EPSS 0.54%9.6CVE-2026-34449B3log siyuan vulnerabilitySiYuan is a personal knowledge management system. Prior to version 3.6.2, a malicious website can achieve Remote Code Execution (RCE) on any desktop …EPSS 0.80%9.1CVE-2026-32749B3log siyuan path traversal vulnerabilitySiYuan is a personal knowledge management system. In versions 3.6.0 and below, POST /api/import/importSY and POST /api/import/importZipMd write uploa…EPSS 0.57%

Source: NIST National Vulnerability Database (record CVE-2026-40318), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.