VYPR
Medium severity4.3NVD Advisory· Published Oct 6, 2026· Updated Oct 13, 2026

CVE-2026-96400

CVE-2026-96400

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.

Affected products

4
  • Go Gitea/Giteareferences3 versions
    (expand)+ 2 more
    • (no CPE)
    • cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*range: <28.0.0
    • (no CPE)
  • osv-coords
    Range: < 28.0.0

Patches

Vulnerability mechanics

References

4

News mentions

1