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

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.

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

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

History

Sat, 17 Oct 2026 18:15:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

Wed, 14 Oct 2026 16:30:00 +0000

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'}


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

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

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-10-14T15:21:23.929Z

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

Link: CVE-2026-60018

cve-icon Vulnrichment

Updated: 2026-10-14T15:21:18.597Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-10-14T16:17:47.467

Link: CVE-2026-60018

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T18:00:10Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption