Skip to content
Heist/ feed
Unrated

Gitea migration SSRF to reserved addresses through ALLOWED_DOMAINS

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-96400

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-96400

Gitea

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "Gitea",
    "product": "Gitea",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "versionType": "semver",
        "lessThanOrEqual": "1.27.3"
      }
    ],
    "packageName": "gitea.dev",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-96400

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#11854 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement