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.
History

Thu, 15 Oct 2026 02:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*

Wed, 07 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-346
CWE-918

Wed, 07 Oct 2026 14:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-918

Wed, 07 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 07 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

Tue, 06 Oct 2026 22:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-918

Tue, 06 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
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.
Title Gitea migration SSRF through ALLOWED_DOMAINS address check bypass
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published: 2026-10-06T19:23:20.387Z

Updated: 2026-10-07T15:54:52.293Z

Reserved: 2026-10-04T21:57:35.568Z

Link: CVE-2026-101027

cve-icon Vulnrichment

Updated: 2026-10-07T11:37:34.067Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-06T20:17:08.233

Modified: 2026-10-15T02:32:39.673

Link: CVE-2026-101027

cve-icon Redhat

No data.