8.5

CVE-2026-40318: b3log siyuan Path Traversal: '../filedir'

CVSS: 8.5v3.1HighAnalyzed
AliasesGHSA-vw86-c94w-v3x4GO-2026-5679
Published 16-04-2026Last modified 18-04-2026

Vulnerability summary

CVE-2026-40318 is a high (CVSS 8.5) Path Traversal: '../filedir' vulnerability in b3log siyuan. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 36.7% of scored vulnerabilities.

Overall risk
34/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.44%
0%100%
Low · +0.15 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 16-04-2026
    PublishedVulnerability first disclosed.
  2. 18-04-2026
    Last modifiedVulnerability information updated.

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 metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.44%

Chance of exploitation in the next 30 days

Percentile

37%

Versus all other CVEs

30-day change

+0.15 pp

From 0.29% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.44%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

B3log1 product
Github.com/siyuan-note/siyuan1 product
  • kernel< 3.6.40.0.0-20260407035653-2f416e5253f1 | All versions (No fix recorded)
Siyuan-note1 product

3 vendors · 3 products

References

4 links