CVE-2026-101029

Gitea migration and pull mirror SSRF through multi-answer DNS

Published Oct 6, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
Gitea's repository migration and pull mirror egress checks could be bypassed with a hostname that returns multiple DNS answers, because the address that was validated was not necessarily the address Git later connected to. A low-privileged user who can create migrations or mirrors could direct the server to internal services, reading from and writing to reachable internal Git or HTTP endpoints. Content from internal responses could additionally be disclosed through migration and mirror error messages.

Analysis

AI-generated

Technical impact

A user who creates a repository migration or pull mirror can supply a hostname that returns multiple DNS answers. The server validates the first IP address resolved but later connects to a different address selected by the Git client, allowing the attacker to join internal network resources. This flaw is a classic Server‑Side Request Forgery (CWE‑918) that permits reading and writing to reachable internal Git or HTTP endpoints. The error messages generated during migration or mirroring can leak the content of internal responses, providing additional information to the attacker.

Affected Systems

Version information was not provided in the CVE payload, so the specific affected releases are unknown. The vulnerability applies to all installations of Gitea that contain the repository migration and pull mirror functionality prior to the application of a fix. Administrators should verify whether their instance includes the vulnerable code by checking the vendor’s release notes or security advisories.

Risk and Exploitability

The flaw is exploitable by any low‑privileged user with access to initiate migrations or mirrors. The CVSS score is 4.3, indicating a moderate impact. The EPSS score of 0.00124 indicates a low, yet non‑zero, probability of exploitation in the wild, and the vulnerability is not listed in the CISA KEV catalog. The impact on internal data confidentiality and integrity can be severe. The server‑side process can reach internal services, exfiltrate data, or modify repository contents, potentially disrupting internal Git operations or web services.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to a patched release that contains the SSRF fix, if one is available or consult the vendor’s security advisory.
  • Restrict the ability to initiate migrations or pull mirrors to users with elevated privileges, limiting the number of users who can trigger the vulnerability.
  • Suppress detailed error messages that expose the content of internal responses during migration or mirroring operations.

Generated by OpenCVE AI on October 7, 2026 at 23:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

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

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
Type Values Removed Values Added
Description Gitea's repository migration and pull mirror egress checks could be bypassed with a hostname that returns multiple DNS answers, because the address that was validated was not necessarily the address Git later connected to. A low-privileged user who can create migrations or mirrors could direct the server to internal services, reading from and writing to reachable internal Git or HTTP endpoints. Content from internal responses could additionally be disclosed through migration and mirror error messages.
Title Gitea migration and pull mirror SSRF through multi-answer DNS
Weaknesses CWE-209
CWE-367
CWE-918
References
Weaknesses
  • CWE-209

    Generation of Error Message Containing Sensitive Information

  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Oct 7, 2026, 8:18 PM
Reserved
Oct 4, 2026, 9:57 PM
Status
Analyzed
Published
Oct 6, 2026, 8:17 PM
Modified
Oct 15, 2026, 2:29 AM