Improper access control in Gitea - CVE-2026-58507
Published: July 14, 2026 / Updated: August 16, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose the existence of private repositories.
The vulnerability exists due to improper access control in the go-get meta endpoint when handling go get requests for repository paths. A remote attacker can send a specially crafted request to disclose the existence of private repositories.
The issue can be triggered using the insecure go-get mechanism against repository paths that should not reveal whether a private repository exists.