SiYuan has a Path Traversal in /export Endpoint Allows Arbitrary File Read and Secret Leakage
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in github.com/siyuan-note/siyuan/kernel 3.5.10.
SiYuan is a personal knowledge management system. Prior to 3.5.10, a path traversal vulnerability in the /export endpoint allows an attacker to read arbitrary files from the server filesystem. By exploiting double‑encoded traversal sequences, an attacker can access sensitive files such as conf/conf.json, which contains secrets including the API token, cookie signing key, and workspace access authentication code. Leaking these secrets may enable administrative access to the SiYuan kernel API, and in certain deployment scenarios could potentially be chained into remote code execution (RCE). This vulnerability is fixed in 3.5.10.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| siyuan-note | <3.5.10 | ||
| go: github.com/siyuan-note/siyuan/kernel | <3.5.10, <=3.5.9 | 3.5.10 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in github.com/siyuan-note/siyuan/kernel (Go), strongest first
Embed
A live severity badge for an advisory, README or ticket