CVE-2026-57894 Gitea: Repository Migration Follows Git HTTP Redirects After URL Allow/Block Validation, Enabling Internal Git Repository Exfiltration
Attackers can exfiltrate internal Git repositories by exploiting SSRF in repository migration via HTTP redirects bypassing URL validation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-57894?
CVE-2026-57894 is a high-severity server-side request forgery vulnerability in Gitea Open Source Git Server, published on 13 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Repository Migration Follows Git HTTP Redirects After URL Allow/Block Validation, Enabling Internal Git Repository Exfiltration
Weakness: CWE-918
Which versions are affected by CVE-2026-57894?
3 open source packages ship an affected version, including code.gitea.io/gitea and gitea.dev.
| Package | Affected | Fixed in |
|---|---|---|
code.gitea.io/gitea Go | All versions | 1.27.0 |
code.gitea.io/gitea Go | All versions | 1.27.0 |
gitea.dev Go | All versions | 1.27.0 |
How do I fix CVE-2026-57894?
Upgrade code.gitea.io/gitea to 1.27.0 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-57894 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-57894 exists.
Sources
Also known as GHSA-82f7-87hm-852x, GO-2026-6027, MINI-83j4-3wj8-5mh7, MINI-9cvg-r6q3-5746.