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.
Published: 2026-10-14
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

Impact

Gitea's migration process creates an HTTP request to the target GitLab instance without specifying a timeout and does not honour the cancellation context. If an attacker controls the target server and keeps the response open, the worker that handles the migration continues to wait for the response even after the task is cancelled. This can exhaust the pool of available migration workers, blocking subsequent migration jobs and effectively denying service to users who rely on that functionality. The weakness is an uncontrolled resource consumption flaw (CWE‑400).

Affected Systems

The vulnerability affects the Gitea application. Specific affected versions are not listed in the available data; users should verify that they are running an older release prior to v1.27.3 and consider updating accordingly.

Risk and Exploitability

Based on the description, the likely attack vector is an authenticated user with migration permissions initiating a migration to an attacker‑controlled GitLab instance that keeps the response open indefinitely. The absence of a timeout and context cancellation is inferred to allow the task to continue running after cancellation, exhausting migration workers. Although the EPSS score is reported as less than 1%, the analysis infers a high‑impact denial of service because the exhaustion of workers can block all subsequent migration jobs on the affected instance. The vulnerability is not listed in the CISA KEV catalog, and no CVSS score is supplied, but the potential to deny migration services justifies treating the flaw as a severe local‑to‑remote denial of service that could affect many users on the instance.

Generated by OpenCVE AI on October 15, 2026 at 20:55 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.27.3 or later to apply the fix for the missing timeout and context handling.
  • Restrict migration target URLs to trusted, internal servers or a predefined whitelist to prevent attackers from controlling responses.
  • Configure network or application‑level timeouts on outbound HTTP connections used by migration requests to ensure long‑running responses do not tie up workers.

Generated by OpenCVE AI on October 15, 2026 at 20:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 14 Oct 2026 14:45:00 +0000

Type Values Removed Values Added
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.
Title Gitea GitLab migration denial of service
Weaknesses CWE-400
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-10-14T14:28:46.424Z

Reserved: 2026-07-08T09:19:08.741Z

Link: CVE-2026-60021

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-14T15:17:21.120

Modified: 2026-10-14T16:04:39.483

Link: CVE-2026-60021

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-15T21:00:18Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption