Description
Repository migration SSRF via multi-answer DNS allow-list bypass
Published: 2026-08-13
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in Gitea allows a user to trigger the server to perform DNS lookups for arbitrary domain names during repository migration. By sending a repository migration request that resolves to multiple DNS answers, an attacker can bypass the server's allow‑list filtering. This enables an attacker to access internal network resources or reveal sensitive server information, which is consistent with CWE‑918 (Server Side Request Forgery) and CWE‑200 (Information Exposure).

Affected Systems

The affected product is the Gitea Open Source Git Server. No specific version numbers are listed in the advisory, so any Gitea installation that supports repository migration may be impacted.

Risk and Exploitability

The exploit requires only an HTTP request to the migration endpoint, so the attack vector is remote over the network. The CVSS score of 6.5 indicates a medium severity, and the EPSS score of < 1% reflects a very low but non‑zero exploitation probability. The vulnerability is not included in the CISA KEV catalog, so the frequency of real‑world attacks is currently unclear. Given these metrics, administrators should treat it as a moderate risk until a patch is applied.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Gitea version 1.27.0 or newer that addresses the repository migration SSRF flaw.
  • If an upgrade cannot be performed immediately, restrict the DNS allow‑list to trusted domains and validate each response against the list.
  • Disable the repository migration feature if it is not required, or limit its use to authenticated administrators only.

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

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-h2x6-g7q6-344v Gitea: Repository migration SSRF via multi-answer DNS allow-list bypass
History

Fri, 14 Aug 2026 20: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:H/I:N/A:N'}

ssvc

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


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 SSRF via multi-answer DNS allow-list bypass
Title Repository migration SSRF via multi-answer DNS allow-list bypass
Weaknesses CWE-200
CWE-918
References

Subscriptions

Gitea Gitea Open Source Git Server
cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-08-14T19:55:16.172Z

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

Link: CVE-2026-58442

cve-icon Vulnrichment

Updated: 2026-08-14T19:55:10.827Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-08-26T16:53:48.300

Link: CVE-2026-58442

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T21:30:04Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-918

    Server-Side Request Forgery (SSRF)