| Titolo | leomoon-studios wiki-go <= 1.9.1 Path Traversal |
|---|
| Descrizione | 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. |
|---|
| Fonte | ⚠️ https://github.com/leomoon-studios/wiki-go/security/advisories/GHSA-wv68-7fq9-834c |
|---|
| Utente | mikannse (UID 100854) |
|---|
| Sottomissione | 08/10/2026 04:11 (15 giorni fa) |
|---|
| Moderazione | 21/10/2026 13:12 (13 days later) |
|---|
| Stato | Accettato |
|---|
| Voce VulDB | 424733 [leomoon-studios wiki-go fino a 1.9.1 API editor.go SaveHandler/SourceHandler directory traversal] |
|---|
| Punti | 20 |
|---|