Description

Gitea validated a push mirror's remote address against the `[migrations]` allow and block lists only when the mirror was created. Each synchronization passed the stored address directly to `git push`, so a name that later resolved to a blocked or internal address was still reached. A user with administrator access to a repository, which includes repositories they create themselves, could aim push mirror synchronization at internal Git services and force-push the repository's contents to them.

Weaknesses

  • 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.