CVE-2026-58508
Gitea · Gitea Open Source Git Server
Gitea is susceptible to two Server Side Request Forgery (SSRF) vulnerabilities within its migration and mirror features, resulting from DNS rebinding and a lack of proper input re-validation.
Executive summary
Gitea Open Source Git Server is vulnerable to critical Server Side Request Forgery flaws that allow unauthenticated attackers to bypass security controls and access internal resources.
Vulnerability
These SSRF vulnerabilities occur in the migration and mirror components due to insufficient input validation and susceptibility to DNS rebinding attacks. An unauthenticated attacker can leverage these flaws to force the server to make unauthorized requests to internal network resources.
Business impact
The ability for an unauthenticated actor to perform SSRF requests against internal infrastructure poses a severe risk to organizational security. This vulnerability can lead to unauthorized access to sensitive internal services, potential data exfiltration, and the compromise of private network segments, which justifies the critical CVSS score of 9.1.
Remediation
Immediate Action: Update the Gitea Open Source Git Server to version 1.27.0 or later to apply the necessary security fixes for the migration and mirror components.
Proactive Monitoring: Review web server and application logs for unusual outbound connection patterns or requests directed toward internal IP addresses originating from the Gitea server.
Compensating Controls: Implement strict egress filtering on the network firewall to prevent the Gitea server from reaching sensitive internal segments and services that it does not require for legitimate operations.
Exploitation status
Public Exploit Available: No
Analyst recommendation
Given the critical severity and the potential for total impact on internal systems, administrators must prioritize the update to Gitea version 1.27.0 immediately. Organizations failing to patch should implement restrictive network egress rules to minimize the blast radius of a potential SSRF attack until the update can be deployed.
More Gitea CVEs
Sources
Originally found and disclosed by AmerMrkaljevic, per the CVE Program record.
- GitHub Security Advisory Vendor advisory
- Gitea v1.27.0 Release Release notes
- Gitea v1.27.0 Release Blog Post Release notes