| 标题 | leomoon-studios wiki-go <= 1.9.1 Path Traversal |
|---|
| 描述 | The /api/save/ and /api/source/ endpoints, reachable by any user with the editor role, apply filepath.Clean to the URL path before replacing backslashes with forward slashes. On Linux (the official Docker image), \ is not a path separator, so a ..\..\ sequence survives Clean and later escapes the documents root once backslashes are converted to / and the path is joined. An editor can read or write a document.md file in any directory the process can access, crossing the filesystem boundary and the documents/ sandbox. Default configuration is affected. |
|---|
| 来源 | ⚠️ https://github.com/leomoon-studios/wiki-go/security/advisories/GHSA-wv68-7fq9-834c |
|---|
| 用户 | mikannse (UID 100854) |
|---|
| 提交 | 2026-10-08 04時11分 (14 日前) |
|---|
| 管理 | 2026-10-21 13時12分 (13 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 424733 [leomoon-studios wiki-go 直到 1.9.1 API editor.go SaveHandler/SourceHandler 目录遍历] |
|---|
| 积分 | 20 |
|---|