CVE-2026-58418 SSRF via HTTP Redirect in Repository Migration
Attackers can exploit HTTP redirects during repository migration to perform Server-Side Request Forgery, potentially accessing 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-58418?
CVE-2026-58418 is a medium-severity server-side request forgery vulnerability in Gitea Open Source Git Server, published on 3 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
SSRF via HTTP Redirect in Repository Migration
Weakness: CWE-918
Which versions are affected by CVE-2026-58418?
3 open source packages ship an affected version, including code.gitea.io/gitea.
| Package | Affected | Fixed in |
|---|---|---|
code.gitea.io/gitea Go | All versions | 1.26.4 |
code.gitea.io/gitea Go | All versions | 1.26.4 |
code.gitea.io/gitea Go | All versions | 1.26.4 |
How do I fix CVE-2026-58418?
Upgrade code.gitea.io/gitea to 1.26.4 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-58418 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-58418 exists.
Sources
Also known as GHSA-rqhx-647v-wx32, GO-2026-6075.