Server-Side Request Forgery (SSRF) in Gitea - CVE-2026-58441
Published: July 14, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to server-side request forgery in the restore-repo command when processing a crafted repository dump containing a malicious pull_request.yml Head.CloneURL value. A remote attacker can trick an administrator into restoring a crafted dump to disclose sensitive information.
User interaction is required to run the restore-repo CLI command against a malicious dump. The issue can also cause the server to initiate git fetch requests to attacker-chosen URLs, including internal network targets and file:// paths readable by the Gitea process.