CVE-2026-101029: Gitea migration and pull mirror SSRF through multi-answer DNS
Gitea's repository migration and pull mirror egress checks could be bypassed with a hostname that returns multiple DNS answers, because the address that was validated was not necessarily the address Git later connected to. A low-privileged user who can create migrations or mirrors could direct the server to internal services, reading from and writing to reachable internal Git or HTTP endpoints. Content from internal responses could additionally be disclosed through migration and mirror error messages.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
A low-privileged Gitea user who is allowed to create repository migrations or pull mirrors can exploit it. The attacker needs to supply a hostname with multiple DNS answers so that Git connects to an address different from the one checked by the egress validation.
What systems or data could be exposed?
Reachable internal Git or HTTP endpoints may be accessed through the Gitea server, including reading from or writing to those endpoints. Internal response content may also be disclosed in migration or mirror error messages.