Skip to main content
← All vulnerabilities
CVE-2026-70357BIT-GITEA-2026-70357GHSA-P3PC-G8M5-HRRR

Gitea repository migration SSRF through DNS rebinding

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: yes
  • Technical impact: partial

Summary

Gitea validates a repository migration hostname against its network allow and block lists before invoking Git, but the Git subprocess independently resolves the hostname when connecting. An attacker who can start a migration and control the destination's DNS can change the address between validation and connection to reach a blocked internal address. The affected path is the Git clone operation; validation in the migration HTTP client's dialer does not protect the independently connecting Git subprocess.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · 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