Description
Gitea versions before 1.25.5 do not use the migration HTTP transport for LFS push and sync mirror operations, bypassing the configured migration transport protections for those LFS requests.
Published: 2026-07-03
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Gitea releases prior to version 1.25.5 omit the migration HTTP transport when handling Large File Storage (LFS) push and mirror‑synchronization requests. Normally, the migration transport enforces both authentication controls and transport‑level security on LFS endpoints; by routing these requests through the default LFS transport the system ignores any configured migration restrictions. This flaw provides a classic authorization bypass (CWE‑284) that allows an attacker to read or write large‑file objects that should otherwise be protected. The impact is that an attacker who can initiate an LFS push or trigger a mirror synchronization against a Gitea instance that has migration transport restrictions configured will be able to bypass those controls. The vulnerability can lead to unauthorized disclosure of repository contents that include large files, or insertion of malicious files into the repository. Attackers would need network access to the Gitea HTTP endpoint and the ability to perform either an LFS push or a mirror‑synchronization. While the EPSS score of less than 1 % indicates the likelihood of an active exploit is currently low, the critical CVSS score (9.8) demonstrates that a successful exploitation could have a serious impact. The vulnerability is not currently listed in the CISA KEV catalog, implying no known large‑scale exploitation at the time of this report.

Affected Systems

The affected systems are instances of Gitea version 1.25.4 and earlier of the Gitea Open Source Git Server. Any deployment using Gitea before the 1.25.5 release is vulnerable, regardless of repository size or network exposure.

Risk and Exploitability

The high CVSS score of 9.8 reflects a severe potential impact, while the EPSS score of less than 1 % indicates that active exploitation is currently rare. The vulnerability would be exploited by an attacker who can reach the Gitea HTTP endpoint and initiate an LFS push or mirror sync. Because the flaw bypasses migration transport restrictions, it enables unauthorized reading or writing of large-file content, potentially leaking or tampering with repository data. The flaw is not yet identified in CISA’s KEV catalog, so no large‑scale incidents have been reported as of this analysis.

Generated by OpenCVE AI on July 23, 2026 at 16:15 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.25.5 or higher, which adds migration transport checks to all LFS operations
  • Verify that the migration transport is enabled and properly configured for all LFS endpoints in your Gitea deployment
  • Limit LFS push and mirror‑synchronization privileges to trusted users and audit repository permissions to reduce exposure

Generated by OpenCVE AI on July 23, 2026 at 16:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 07 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 06 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server

Fri, 03 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
Description Gitea versions before 1.25.5 do not use the migration HTTP transport for LFS push and sync mirror operations, bypassing the configured migration transport protections for those LFS requests.
Title Gitea LFS mirror synchronization bypasses migration HTTP transport restrictions
Weaknesses CWE-284
References

Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-07-07T16:59:11.597Z

Reserved: 2026-02-22T15:13:33.694Z

Link: CVE-2026-26292

cve-icon Vulnrichment

Updated: 2026-07-07T16:23:27.443Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-23T16:30:09Z

Weaknesses