NIXPKGS-2026-1261
GitHub issue
published on
by @LeSuisse Activity log
- Created suggestion
- @LeSuisse accepted
- @LeSuisse published on GitHub
SiYuan: Incomplete Fix Bypass for CVE-2026-30869: Path Traversal via Double URL Encoding in `/export/` Endpoint
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.
References
-
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hjh7-r5w8-5872 x_refsource_CONFIRM
Ignored references (1)
-
https://github.com/siyuan-note/siyuan/releases/tag/v3.6.5 x_refsource_MISC
Affected products
siyuan
- ==< 3.6.5
Matching in nixpkgs
Package maintainers
-
@L-Trump Luo Chen <ltrump@163.com>
-
@TomaSajt TomaSajt