Gogs Directory Traversal
High severity
GitHub Reviewed
Published
May 14, 2022
to the GitHub Advisory Database
•
Updated May 14, 2026
Package
Affected versions
< 0.11.80-0.20181218063808-ff93d9dbda5c
Patched versions
0.11.80-0.20181218063808-ff93d9dbda5c
Description
Published by the National Vulnerability Database
Dec 20, 2018
Published to the GitHub Advisory Database
May 14, 2022
Reviewed
Jul 25, 2023
Last updated
May 14, 2026
In pkg/tool/path.go in Gogs before 0.11.82.1218, a directory traversal in the file-upload functionality can allow an attacker to create a file under data/sessions on the server, a similar issue to CVE-2018-18925.
References