{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "1.16.0"
              },
              {
                "fixed": "1.27.3"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "8df3d6575a3e07d38b264e5c1581e48aa4a02c88"
            },
            {
              "fixed": "146cc3eec57174711eac0e0a0c7b38670c6e3922"
            }
          ],
          "repo": "https://github.com/go-gitea/gitea",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-5952-x23q-p23f"
  ],
  "database_specific": {
    "cna_assigner": "Gitea",
    "cwe_ids": [
      "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/60xxx/CVE-2026-60021.json"
  },
  "details": "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.",
  "id": "CVE-2026-60021",
  "modified": "2026-10-16T02:31:04.695566966Z",
  "published": "2026-10-14T14:28:46.424Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://blog.gitea.com/release-of-1.27.3/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/60xxx/CVE-2026-60021.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/go-gitea/gitea/releases/tag/v1.27.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-5952-x23q-p23f"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-60021"
    },
    {
      "type": "FIX",
      "url": "https://github.com/go-gitea/gitea/pull/39023"
    },
    {
      "type": "FIX",
      "url": "https://github.com/go-gitea/gitea/pull/39035"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "Gitea GitLab migration denial of service"
}