Skip to main content
← All vulnerabilities
CVE-2026-96400BIT-GITEA-2026-96400GHSA-54W9-6CC5-9WJ9

Gitea migration SSRF to reserved addresses through ALLOWED_DOMAINS

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 28.0.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • gitea.dev

    through 1.27.3

  • giteaBitnami

    fixed in 28.0.0

References 4

GitHub · go-gitea/gitea

blog.gitea.com