SSRF in Gitea
CVE-2026-96400
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published .
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- 88ee5874-cf24-4952-aea0-31affedb7ff2 (vendor-advisory)
- 88ee5874-cf24-4952-aea0-31affedb7ff2 (patch)
- 88ee5874-cf24-4952-aea0-31affedb7ff2 (release-notes)
- 88ee5874-cf24-4952-aea0-31affedb7ff2 (release-notes)