CVE Catalog

CVE-2026-101027

HighCVSS 7.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

5th percentile - higher than 5% of all known CVEs

Summary

In Gitea, when `[migrations] ALLOWED_DOMAINS` was configured, a hostname matching the allow list was accepted without checking its resolved address against 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.

Risk Assessment

An attacker with repository migration privileges could reach internal network services from the Gitea server, potentially leading to data exposure or further escalation within the internal network.

Recommendation

Update Gitea to a version containing the fix or, if possible, restrict permissions to start repository migrations and review the `ALLOWED_DOMAINS` and `ALLOW_LOCALNETWORKS` configuration.

Other vulnerabilities in Gitea

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS