CVE-2026-101027 Gitea migration SSRF through ALLOWED_DOMAINS address check bypass
Attackers can bypass SSRF protections in Gitea migrations by controlling DNS for allowed domains, accessing internal services when ALLOWED_DOMAINS is configured.
- 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-101027?
CVE-2026-101027 is a high-severity server-side request forgery vulnerability in Gitea Gitea, published on 6 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
When `[migrations] ALLOWED_DOMAINS` was configured, a hostname matching the allow list was accepted without checking its resolved address against the local-network restrictions. A user who can start repository migrations and control the DNS of an allowed hostname could make it resolve to loopback or private addresses and bypass `ALLOW_LOCALNETWORKS = false`, reaching internal services from the Gitea server. Instances without `ALLOWED_DOMAINS` configured are not affected by this specific bypass.
Weakness: CWE-346
Which versions are affected by CVE-2026-101027?
1 open source package ship an affected version, including gitea. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gitea Bitnami | All versions | 28.0.0 |
Products include Gitea Gitea.
How do I fix CVE-2026-101027?
Upgrade gitea to 28.0.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-101027 being exploited?
There is no known exploitation of CVE-2026-101027 in the wild and no public exploit code.
Other vulnerabilities in Gitea Gitea
Sources
Also known as BIT-gitea-2026-101027, GHSA-fqjr-23c8-gg9m, MINI-cx62-rhf2-fx26, MINI-gr2v-v628-56qc.