Skip to content

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

HighCVSS 7.7 EPSS 0.25%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
Gitea < 28.0.0; <= 1.27.3 28.0.0 Fixed

Affected products

ProductAffected versionsFixed in
Gitea <= 1.27.3 No fix listed
Gitea < 28.0.0 28.0.0

References