What’s Vulnerable › Vulnerabilities
CVE-2026-60021: Gitea GitLab migration denial of service
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-14 · updated 2026-10-18
- Weakness: CWE-400
Description
Gitea's initial GitLab migration version probe uses an HTTP client without a timeout and does not attach the migration task's cancellation context. An authenticated user who can start migrations can target an attacker-controlled server that keeps the response open indefinitely. The request continues after task cancellation and can exhaust the migration worker pool, preventing other migrations from progressing.
Affected products
- Gitea Open Source Git Server: from 1.16.0 before 1.27.3 — fixed in 1.27.3
How to fix
Upgrade to a fixed version: Gitea Open Source Git Server 1.27.3. Check the vendor advisory for mitigations.
References
- https://blog.gitea.com/release-of-1.27.3/
- https://github.com/go-gitea/gitea/pull/39023
- https://github.com/go-gitea/gitea/pull/39035
- https://github.com/go-gitea/gitea/releases/tag/v1.27.3
- https://github.com/go-gitea/gitea/security/advisories/GHSA-5952-x23q-p23f
Get alerted when CVE-2026-60021 or the next vulnerability affects your stack