Directory Traversal Vulnerability in Gogs Git Service
CVE-2026-52797
8.5HIGH
What is CVE-2026-52797?
Gogs, a self-hosted Git service, is susceptible to a directory traversal vulnerability that allows authorized users to manipulate the input to the git diff command. This vulnerability can enable attackers to bypass the intended restrictions, leading to the ability to write comparison results to arbitrary file paths on the server. This issue was addressed in version 0.14.0, following which users are encouraged to upgrade to mitigate the risks associated with this security flaw.
Affected Version(s)
gogs < 0.14.0
