Information Disclosure Vulnerability in Gogs Affected by Private Fork Listing
CVE-2026-77918
5.3MEDIUM
What is CVE-2026-77918?
Gogs, a self-hosted Git service, has an information disclosure vulnerability that could potentially allow authenticated users to access private fork information without the necessary per-fork read checks. This vulnerability arises when a user exploits the API endpoint GET /api/v1/repos/{owner}/{repo}/forks, enabling them to list private forks and retrieve sensitive data, including owners, names, descriptions, and clone URLs of these forks. Such exposure can lead to unauthorized access to private repositories, posing a significant risk to user privacy and data security.
Affected Version(s)
gogs 0 <= 0.14.4
