Description
Repository Migration Follows Git HTTP Redirects After URL Allow/Block Validation, Enabling Internal Git Repository Exfiltration
Published: 2026-08-13
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

When migrating repositories, the Gitea server follows HTTP redirects after applying URL allow or block validation, which can be exploited to direct the server to an attacker‑controlled external host. This flaw can lead to the internal repository contents being sent to a malicious endpoint, compromising data confidentiality. The weakness is a type of HTTP response redirection vulnerability (CWE‑918).

Affected Systems

The vulnerability is present in the Gitea Open Source Git Server. No specific product versions are listed, meaning all installations potentially contain the affected logic.

Risk and Exploitability

The EPSS score is not available and the vulnerability has not been listed in the CISA KEV catalog. Despite the lack of public exploit data, the flaw can be triggered by performing a migration with a crafted URL, so an attacker who can initiate migrations or is on the internal network can exfiltrate repository data. The likely attack vector is inferred to be internal or authenticated, requiring the adversary to have migration privileges.

Generated by OpenCVE AI on August 13, 2026 at 18:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.27.0 or later to remove the unsafe redirect behavior.
  • Restrict the repository migration feature to trusted users or disable it entirely if migration is not required.
  • Monitor outbound traffic for unexpected redirects or data transfers during migration operations and block connections to unknown external hosts.

Generated by OpenCVE AI on August 13, 2026 at 18:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-82f7-87hm-852x Gitea: Repository Migration Follows Git HTTP Redirects After URL Allow/Block Validation, Enabling Internal Git Repository Exfiltration
History

Thu, 13 Aug 2026 19: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

Thu, 13 Aug 2026 17:00:00 +0000

Type Values Removed Values Added
Description Repository Migration Follows Git HTTP Redirects After URL Allow/Block Validation, Enabling Internal Git Repository Exfiltration
Title Repository Migration Follows Git HTTP Redirects After URL Allow/Block Validation, Enabling Internal Git Repository Exfiltration
Weaknesses CWE-918
References

Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-08-13T16:44:45.204Z

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

Link: CVE-2026-57894

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-13T17:17:25.970

Modified: 2026-08-13T17:17:25.970

Link: CVE-2026-57894

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T19:00:12Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)