CVE-2026-101027: Gitea migration SSRF through ALLOWED_DOMAINS address check bypass

Published Oct 6, 2026
·
Updated

When [migrations] ALLOWEDDOMAINS 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 ALLOWLOCALNETWORKS = false, reaching internal services from the Gitea server. Instances without ALLOWEDDOMAINS configured are not affected by this specific bypass.

Affected Software

1 affected component
Gitea Gitea

Event History

Oct 6, 2026
CVE Published
via MITRE·07:23 PM
Data Sourced
via MITRE·07:23 PM
Description
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this bypass?

The affected configuration is one where [migrations] ALLOWED_DOMAINS is configured and ALLOW_LOCALNETWORKS is set to false. Instances without ALLOWED_DOMAINS configured are not affected by this specific bypass.

2

What access and control does an attacker need?

An attacker must be able to start repository migrations and control DNS for a hostname that matches the configured allow list. They can then resolve that allowed hostname to a loopback or private address.

3

What could exploitation allow?

Exploitation can cause the Gitea server to reach internal services at loopback or private network addresses through a repository migration request, despite ALLOW_LOCALNETWORKS being false.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203