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.
CVE-2026-101027
CVSS base score
7.7 (v3.1)
Severity
HIGH
Attack vector
Network
Weakness
CWE-346
Last modified
October 15, 2026
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Affected products
gitea gitea
References
- blog.gitea.com Release Notes
- github.com Patch
- github.com Release Notes
- github.com Mitigation, Vendor Advisory