cve.bz

CVE-2026-40318

8.5 highEPSS 0.3%

High (8.5) in b3log siyuan. EPSS 0.3% chance of exploitation in the next 30 days. Fixed in github.com/siyuan-note/siyuan/kernel 3.6.40.0.0-20260407035653-2f416e5253f1.

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.

Severity

CVSS 3.1

8.5 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H
EPSS
0.3% chance of exploitation in the next 30 days; higher than 21% of CVEs (scores of 2026-10-31)
CWE
CWE-24
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vw86-c94w-v3x4Gogithub.com/siyuan-note/siyuan/kernel<3.6.40.0.0-20260407035653-2f416e5253f13.6.40.0.0-20260407035653-2f416e5253f1
GO-2026-5679Gogithub.com/siyuan-note/siyuan/kernelall versionsno fix published

References

Check your stackJSON