Submit #1019390: leomoon-studios wiki-go <= 1.9.1 Path Traversalinfo

Titleleomoon-studios wiki-go <= 1.9.1 Path Traversal
DescriptionThe /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.
Source⚠️ https://github.com/leomoon-studios/wiki-go/security/advisories/GHSA-wv68-7fq9-834c
User
 mikannse (UID 100854)
Submission10/08/2026 04:11 (14 days ago)
Moderation10/21/2026 13:12 (13 days later)
StatusAccepted
VulDB entry424733 [leomoon-studios wiki-go up to 1.9.1 API editor.go SaveHandler/SourceHandler path traversal]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!