Server-Side Request Forgery (SSRF) in Gitea - CVE-2026-59765
Published: July 14, 2026
Vulnerability details
The vulnerability allows a remote user to disclose sensitive information from internal services and local files.
The vulnerability exists due to server-side request forgery (SSRF) in migration asset download handling and related URI fetching code when processing user-supplied download URLs. A remote user can supply a specially crafted URL to disclose sensitive information from internal services and local files.
Exploitation through the migration path requires permission to trigger a repository migration, and the issue can be abused with http:// URLs to reach internal network resources or with file:// URLs to read local files.