一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年10月7日

CVE-2026-101027 – When `[migrations] ALLOWED_DOMAINS` was configured, a hostname matching the allow list was

未分类
📑 文章目录

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.