提交 #1019390: leomoon-studios wiki-go <= 1.9.1 Path Traversal信息

标题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

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!