CVE-2026-101027

High

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.

SeverityHigh
CVSS7.7
Exploit probability—
ProductGitea
PublishedOct 6, 2026
First seenOct 6, 2026
Weakness typeCWE-346CWE-346

How to fix

Affected products

ProductAffected versionsFixed in
gitea giteav < 28.0.028.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.