What’s Vulnerable › Vulnerabilities
CVE-2026-101027: Gitea migration SSRF through ALLOWED_DOMAINS address check bypass
- Severity: high (CVSS 7.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-06 · updated 2026-10-15
- Weakness: CWE-346
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.
Affected products
- Gitea Open Source Git Server: before 28.0.0 — fixed in 28.0.0
How to fix
Upgrade to a fixed version: Gitea Open Source Git Server 28.0.0. Check the vendor advisory for mitigations.
References
- https://blog.gitea.com/release-of-28.0.0/
- https://github.com/go-gitea/gitea/pull/39426
- https://github.com/go-gitea/gitea/releases/tag/v28.0.0
- https://github.com/go-gitea/gitea/security/advisories/GHSA-fqjr-23c8-gg9m
Get alerted when CVE-2026-101027 or the next vulnerability affects your stack