Description
Gitea's OneDev migration downloader reads the entire remote version response into memory without a size limit and uses a client without a timeout. An authenticated user who can start a repository migration can direct it to an attacker-controlled OneDev-compatible server returning an oversized or never-ending response. This can consume memory and hold migration workers, impairing service availability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Gitea | Gitea | 1.16.0 – < 1.27.3 | 1.27.3 |
Advisories 1
- WID-SEC-2026-3079 Gitea: Mehrere Schwachstellen ermöglichen Ausführen von beliebigem Programmcode BSI CERT-Bund (WID) · Oct 14, 2026
References
- GitHub Security Advisory GHSA-46px-6cqx-c5fv vendor-advisory
- Gitea 1.27.3 release announcement release-notes
- Fix: go-gitea/gitea pull request #39024 patch
- Fix: go-gitea/gitea pull request #39033 patch
- go-gitea/gitea v1.27.3 release release-notes