CVE-2026-40318
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-04-16
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.3 %
higher than 21 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| B3log | Siyuan | < 3.6.4 | Affected |
| github.com/siyuan-note/siyuan | kernel (Go) | < 3.6.40.0.0-20260407035653-2f416e5253f1 | Affected |
Weakness type
-
CWE-24: Path Traversal: '../filedir'
The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "../" sequences that can resolve to a location that is outside of that directory.
References
- https://github.com/siyuan-note/siyuan/releases/tag/v3.6.4
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-vw86-c94w-v3x4
Related at Berigo
Articles
-
Nine vulnerabilities entered the exploited catalogue in two days
Same product
2026-09-01
CISA catalogued three more vulnerabilities on 27 August 2026, a day after six others went in. The three cover ownCloud, the Linux kernel and JFrog Ar…
-
Five of the six new KEV entries date from 2015 to 2022
Same product
2026-08-27
CISA has added six vulnerabilities to its Known Exploited Vulnerabilities catalogue. Five were published between 2015 and 2022, and three grant nothi…
-
Almost a third of this week's listed vulnerabilities have no severity score
Same product
2026-08-25
The weekly vulnerability summary from CISA lists 3882 vulnerabilities for the week beginning 10 August. 1184 of them have no calculated severity scor…
-
Eleven forgotten boot loaders let attackers walk around Secure Boot
Same product
2026-08-18
ESET found eleven old boot loaders signed by Microsoft and never revoked. They can be used to run code before the operating system starts, on machine…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.