CVE-2026-40318
CVE-2026-40318 is a high-severity vulnerability in B3log Siyuan with a CVSS 3.x base score of 8.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-24.
Key facts
- Severity: High (CVSS 3.x base score 8.5)
- EPSS exploit prediction: 0% (21st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-23328
- Weakness: CWE-24
- Affected product: B3log Siyuan
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-40318?
- 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.
- How severe is CVE-2026-40318?
- CVE-2026-40318 has a CVSS 3.x base score of 8.5, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity low, and availability high.
- Is CVE-2026-40318 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (21st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-40318?
- CVE-2026-40318 affects B3log Siyuan. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-40318?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-40318 have an EU (EUVD) identifier?
- Yes. CVE-2026-40318 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-23328.
- When was CVE-2026-40318 published?
- CVE-2026-40318 was published on 2026-04-16 and last updated on 2026-06-17.
References
- https://github.com/siyuan-note/siyuan/releases/tag/v3.6.4
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vw86-c94w-v3x4
Affected products (1)
- cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
More vulnerabilities in B3log Siyuan
- CVE-2026-32938 — Critical (CVSS 9.9): SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the /api/lute/html2BlockDOM on the…
- CVE-2026-33670 — Critical (CVSS 9.8): SiYuan is a personal knowledge management system. Prior to version 3.6.2, the /api/file/readDir interface was used to…
- CVE-2026-33669 — Critical (CVSS 9.8): SiYuan is a personal knowledge management system. Prior to version 3.6.2, document IDs were retrieved via the…
- CVE-2026-32767 — Critical (CVSS 9.8): SiYuan is a personal knowledge management system. Versions 3.6.0 and below contain an authorization bypass…
- CVE-2024-55660 — Critical (CVSS 9.8): SiYuan is a personal knowledge management system. Prior to version 3.1.16, SiYuan's `/api/template/renderSprig`…
- CVE-2024-53507 — Critical (CVSS 9.8): A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems.
All CVEs affecting B3log Siyuan →
Other CWE-24 vulnerabilities
- CVE-2026-39813 — Critical (CVSS 9.8): A path traversal: '../filedir' vulnerability in Fortinet FortiSandbox 5.0.0 through 5.0.5, FortiSandbox 4.4.0 through…
- CVE-2026-49103 — Critical (CVSS 9.4): Webmin before 2.640 does not safely construct a filename for saving of an attachment within the mailboxes component.…
- CVE-2025-61318 — Critical (CVSS 9.1): Emlog Pro 2.5.20 has an arbitrary file deletion vulnerability. This vulnerability stems from the admin/template.php…
- CVE-2023-6699 — Critical (CVSS 9.1): The WP Compress – Image Optimizer [All-In-One] plugin for WordPress is vulnerable to Directory Traversal in all…
- CVE-2025-54769 — High (CVSS 8.8): An authenticated, read-only user can upload a file and perform a directory traversal to have the uploaded file placed…
- CVE-2025-60344 — High (CVSS 8.6): A path traversal (directory traversal) vulnerability in D-Link DSR series routers allows unauthenticated remote…