CVE-2026-58442 Repository migration SSRF via multi-answer DNS allow-list bypass
Attackers can bypass DNS allow-lists during repository migration to perform Server-Side Request Forgery and access internal resources.
- 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-58442?
CVE-2026-58442 is a medium-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 SSRF via multi-answer DNS allow-list bypass
Which versions are affected by CVE-2026-58442?
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-58442?
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-58442 being exploited?
There is no known exploitation of CVE-2026-58442 in the wild and no public exploit code.
Sources
Also known as GHSA-h2x6-g7q6-344v, GO-2026-6058, MINI-cm58-vc2f-gjhv, MINI-w78r-4chr-8cf4.