Description
Repository migration SSRF via multi-answer DNS allow-list bypass
Published: 2026-08-13
Score: n/a
EPSS: n/a
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; thus the attack vector is remote over the network. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog, making it unclear how frequently it is targeted. Because no CVSS score is provided, the severity must be inferred from the potential for internal reconnaissance. Administrators should treat it as a moderate‑to‑high risk until a patch is applied.

Generated by OpenCVE AI on August 13, 2026 at 19:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a version of Gitea that addresses the repository migration SSRF flaw (e.g., release 1.27.0 or newer).
  • If an upgrade cannot be performed immediately, restrict the DNS allow‑list to trusted domains and ensure it validates 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 13, 2026 at 19:00 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

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-13T16:44:55.444Z

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

Link: CVE-2026-58442

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-58442

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-918

    Server-Side Request Forgery (SSRF)