Description
SSRF via HTTP Redirect in Repository Migration
Published: 2026-07-03
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw is a Server‑Side Request Forgery identified as CWE‑918. It is triggered when a user performs a repository migration and the migration source returns an HTTP redirect. The Gitea server blindly follows that redirect, causing it to issue an HTTP request to an arbitrary URL supplied by the attacker. The effect is that the Gitea instance could initiate network requests to any address specified in the redirect, potentially revealing unintended outbound connectivity.

Affected Systems

All deployments of the Gitea Open Source Git Server that include the repository migration feature and run a version earlier than 1.26.4 remain vulnerable. Versions 1.26.4 and newer include a fix that removes the unguarded redirect handling.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity. An EPSS score of less than 1% suggests a low probability of real‑world exploitation, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires that an attacker can trigger a repository migration request on the target instance, which typically entails having the ability to submit migration requests via the web interface or API.

Generated by OpenCVE AI on July 21, 2026 at 09:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Gitea server to version 1.26.4 or later, which removes the redirect‑related vulnerability.
  • If the migration feature is not required, disable or remove the repository migration functionality to eliminate the attack surface.
  • Configure outbound network controls or firewall rules to restrict HTTP requests originating from the Gitea process.

Generated by OpenCVE AI on July 21, 2026 at 09:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-rqhx-647v-wx32 Gitea: SSRF via HTTP Redirect in Repository Migration
History

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

Mon, 06 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 03 Jul 2026 21:15:00 +0000

Type Values Removed Values Added
Description SSRF via HTTP Redirect in Repository Migration
Title SSRF via HTTP Redirect in Repository Migration
Weaknesses CWE-918
References
Metrics cvssV3_1

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


Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-07-06T15:14:53.799Z

Reserved: 2026-06-30T18:57:20.613Z

Link: CVE-2026-58418

cve-icon Vulnrichment

Updated: 2026-07-06T15:14:45.981Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T09:15:02Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)