Server-Side Request Forgery (SSRF) in Gitea - CVE-2026-57894
Published: July 14, 2026
Vulnerability details
The vulnerability allows a remote user to disclose sensitive information from internal Git repositories.
The vulnerability exists due to server-side request forgery (SSRF) in repository migration and pull mirror synchronization when processing a user-supplied Git URL that returns an HTTP redirect. A remote user can submit an allowed public Git URL that redirects to an internal Git HTTP(S) endpoint to disclose sensitive information from internal Git repositories.
Pull mirror configurations can cause scheduled fetch operations to continue retrieving future commits from the redirected internal repository.