With [migrations] ALLOWED_DOMAINS set to a matching entry such as * or a hostname wildcard, Gitea's migration URL validation could permit reserved and link-local addresses, such as 169.254.169.254, even when ALLOW_LOCALNETWORKS = false. The local-network block list did not cover these ranges, and a hostname matching the allow list was accepted regardless of its resolved address. A user who can start migrations on such an instance could reach these addresses from the Gitea server; the default empty ALLOWED_DOMAINS configuration is not affected.
{
"cna_assigner": "Gitea",
"cwe_ids": [
"CWE-918"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/96xxx/CVE-2026-96400.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "28.0.0"
}
],
"source": "CPE_RANGE"
},
{
"original_tag": "v28.0.0",
"range": [
{
"fixed": "15b8a5805adf57c5189602008d38cccfd3c795e0"
}
],
"source": "REFERENCES_TAG"
}
]
}