Impact
When Gitea attempts to migrate a repository, it first validates the source URL but then follows any HTTP redirects to the target host. If an attacker can cause the migration to point to a URL that redirects to an external endpoint, the server will download the repository contents and send them to that external host, thereby leaking confidential data. This weakness is classified as an HTTP response redirection flaw (CWE‑918).
Affected Systems
The issue exists in the Gitea Open Source Git Server; no specific product versions are listed, so all installations of the software that support the migration feature could be affected.
Risk and Exploitability
The EPSS score is <1%, indicating a low probability of exploitation, and the vulnerability is not in CISA’s KEV catalog. The flaw is exploitable by initiating a migration with a crafted URL, which generally requires the attacker to have migration privileges or be able to operate on the internal network. The CVSS base score of 8.5 reflects a high impact on confidentiality and a high overall severity.
OpenCVE Enrichment
Github GHSA