# CVE-2026-60021: Gitea GitLab migration denial of service

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2026-10-14T14:28:46.424Z
- Modified: 2026-10-18T14:16:55.100Z
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Gitea

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

(As written by CVE List.)

## Affected

- code.gitea.io/gitea: from 1.16.0 before 1.27.3

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-5952-x23q-p23f> (vendor-advisory)
- <https://blog.gitea.com/release-of-1.27.3/> (release-notes)
- <https://github.com/go-gitea/gitea/pull/39023> (patch)
- <https://github.com/go-gitea/gitea/pull/39035> (patch)
- <https://github.com/go-gitea/gitea/releases/tag/v1.27.3> (release-notes)

## Sources

- CVE List: [CVE-2026-60021](https://www.cve.org/CVERecord?id=CVE-2026-60021), CVE Terms of Use, modified 2026-10-18
- NVD: [CVE-2026-60021](https://nvd.nist.gov/vuln/detail/CVE-2026-60021), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2026-60021 · Whole record: https://cve.day/CVE-2026-60021.json · Rebuilt by cve.day 2026-11-25T22:59:44.670Z
