CVE-2026-101027

Gitea migration SSRF through ALLOWED_DOMAINS address check bypass

State
Published
Severity
7.7 High
Published
Oct 6, 2026
Updated
Oct 7, 2026
Reserved
Oct 4, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:NCISA-ADP

Weaknesses

Affected Products

ProductVersions
GiteaGitea
  • 1.27.3 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.