Path traversal in gogs - CVE-2022-1993
Published: June 8, 2022 / Updated: April 27, 2026
Vulnerability identifier: #VU128081
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-1993
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote user to access unauthorized Git directories.
The vulnerability exists due to path traversal in Git HTTP endpoints when handling crafted HTTP requests. A remote user can send a specially crafted request to access unauthorized Git directories.
Affected software
gogs
How to mitigate CVE-2022-1993
Install security update from vendor's website.
gogs - update to 0.12.9