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
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | 0 to <=1.27.3 |
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-hcgw-r9gf-8mph (vendor-advisory)
- https://github.com/go-gitea/gitea/pull/39010 (patch)
- https://github.com/go-gitea/gitea/pull/39426 (patch)
- https://blog.gitea.com/release-of-28.0.0/ (release-notes)
- https://github.com/go-gitea/gitea/releases/tag/v28.0.0 (release-notes)
Generated from the official CVE List on 07 Oct 2026 10:16 UTC.