Path traversal in gogs - CVE-2022-1993

 

Path traversal in gogs - CVE-2022-1993

Published: June 8, 2022 / Updated: April 27, 2026


Vulnerability identifier: #VU128081
CSH Severity: Low
CVSSv4.0: 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/E:U/U:Clear
CVE-ID: CVE-2022-1993
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
gogs
Software vendor:
gogs.io

Description

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.


Remediation

Install security update from vendor's website.

External links