CVE-2026-60018

Gitea OneDev migration denial of service

Published Oct 14, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Gitea's OneDev migration downloader mishandles responses from the target server. The code reads every byte of the upstream response into memory without enforcing a size limit and relies on an HTTP client that lacks a timeout. When an authenticated user initiates a migration pointing to a malicious or misconfigured OneDev-compatible server, the downloader can be forced to buffer an arbitrarily large or indefinitely streaming response. The result is uncontrollable memory growth and the occupation of migration workers, which can lead to service outages for other Git operations.

Affected Systems

The affected vendor is Gitea, with its single source code repository hosting product "Gitea". No explicit version ranges are listed in the CNA data; however, the remedy references a release v1.27.3, implying that versions before v1.27.3 are vulnerable. Administrators should verify their current Gitea version and consider updating to v1.27.3 or later where the downloader size checks and timeout handling have been implemented.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity. Because the vulnerability requires an authenticated user to start a migration, the likelihood of exploitation depends on the depth of the user's permissions. Attackers could create the necessary migration job and direct it to a malicious server, allowing them to exhaust system resources or block legitimate traffic. The EPSS score of < 1% indicates a very low exploitation probability, and the issue is not listed in the CISA KEV catalog, but the memory exhaustion potential still warrants prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Gitea to the latest stable release (v1.27.3 or later) which adds size checks and client timeouts.
  • If an upgrade is not possible immediately, restrict the migration feature to trusted internal endpoints or configure a network proxy that limits response size and imposes timeouts.
  • Disable migration functionality for non‑administrator users or temporarily suspend the feature until a patched version is deployed.

Generated by OpenCVE AI on October 15, 2026 at 19:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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

    Uncontrolled Resource Consumption

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Oct 14, 2026, 3:21 PM
Reserved
Jul 8, 2026, 9:19 AM
Status
Deferred
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 14, 2026, 4:17 PM