[ CVE-2026-96400 · Published 6 Oct 2026 ]
Vulnerability in Gitea
CVSS 4.3
EPSS <1%1 agency advisoryFix available
[ Description ]Official description
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.
[ Fixes ]Fixes and patches
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
[ Advisories ]Government CERT advisories
-
BSI CERT-BundWID-SEC-2026-3792
Gitea: Multiple vulnerabilities Translated from German
[ References ]References
- blog.gitea.com/release-of-28.0.0Release Notes
- github.com/go-gitea/gitea/pull/39426Patch
- github.com/go-gitea/gitea/releases/tag/v28.0.0Release Notes
- github.com/go-gitea/gitea/security/advisories/GHSA-54w9-6cc5-9wj9MitigationVendor Advisory