Description

Gitea's repository migration and pull mirror egress checks could be bypassed with a hostname that returns multiple DNS answers, because the address that was validated was not necessarily the address Git later connected to. A low-privileged user who can create migrations or mirrors could direct the server to internal services, reading from and writing to reachable internal Git or HTTP endpoints. Content from internal responses could additionally be disclosed through migration and mirror error messages.

Weaknesses

  • CWE-209 — CWE-209: Generation of Error Message Containing Sensitive Information
  • CWE-367 — CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
  • CWE-918 — CWE-918: Server-Side Request Forgery (SSRF)

Affected products

VendorProductVersions
GiteaGitea0 to <=1.27.3

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 07 Oct 2026 10:16 UTC.