CVE-2026-58508

Two SSRF vulnerabilities in Gitea migration/mirror (DNS rebinding + missing re-validation)

Published Aug 13, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
Two SSRF vulnerabilities in Gitea migration/mirror (DNS rebinding + missing re-validation)

Analysis

AI-generated

Technical impact

Two SSRF vulnerabilities exist in the migration/mirror functionality of Gitea. An attacker can influence the server to resolve arbitrary DNS names or bypass re-validation, causing Gitea to send requests to internal or external resources on the attacker's behalf. This flaw enables reading or writing data from internal services that the Gitea instance can reach, posing a risk to confidentiality and integrity.

Affected Systems

The product affected is Gitea Open Source Git Server. Any deployment that includes the migration/mirror feature is at risk. Version information is unspecified, but the fix is included in release 1.27.0 and later.

Risk and Exploitability

The vulnerability is identified as a server-side request forgery with internal network reach. Its CVSS score of 9.1 signifies critical severity. The EPSS score is < 1%, indicating a low but non-zero probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. The attack vector likely involves sending injected data through the migration/mirror API or web interface, and authentication may not be required if the endpoint is publicly reachable. Effective risk depends on the exposure of the endpoint and network segmentation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.27.0 or later, which contains the SSRF fix.
  • If upgrading is not possible immediately, disable or restrict access to the migration/mirror endpoints so that external actors cannot trigger the vulnerable logic.
  • Configure the network firewall or proxy to block outbound HTTP/HTTPS requests from the Gitea server to internal networks, limiting the potential impact of any SSRF exploitation.

Generated by OpenCVE AI on August 14, 2026 at 21:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea Open Source Git Server
Vendors & Products Gitea
Gitea gitea Open Source Git Server
Type Values Removed Values Added
Description Two SSRF vulnerabilities in Gitea migration/mirror (DNS rebinding + missing re-validation)
Title Two SSRF vulnerabilities in Gitea migration/mirror (DNS rebinding + missing re-validation)
Weaknesses CWE-284
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Aug 14, 2026, 7:04 PM
Reserved
Jul 8, 2026, 9:19 AM
Status
Deferred
Published
Aug 13, 2026, 5:17 PM
Modified
Aug 26, 2026, 4:53 PM