SiYuan: Incomplete Fix Bypass for CVE-2026-30869: Path Traversal via Double URL Encoding in `/export/` Endpoint
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in github.com/siyuan-note/siyuan/kernel 3.6.5.
SiYuan is an open-source personal knowledge management system. Prior to 3.6.5, the fix for CVE-2026-30869 only added a denylist check (IsSensitivePath) but did not address the root cause — a redundant url.PathUnescape() call in serveExport(). An authenticated attacker can use double URL encoding (%252e%252e) to traverse directories and read arbitrary workspace files including the full SQLite database (siyuan.db), kernel log, and all user documents. This vulnerability is fixed in 3.6.5.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| siyuan-note | <3.6.5 | ||
| go: github.com/siyuan-note/siyuan/kernel | <3.6.5 | 3.6.5 |
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