8.5

CVE-2026-40318: SiYuan: Publish Reader Path Traversal Delete via `removeUnusedAttributeView`

Analyzed
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.30% chance of exploitation in the next 30 days, higher than 24.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.30%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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.30%

Chance of exploitation in the next 30 days

Percentile

24%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.29% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

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