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.
Published: 2026-10-06
Score: 4.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Remote Server Request Forgery with potential internal data exposure
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Thu, 15 Oct 2026 02:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*

Wed, 07 Oct 2026 21:30:00 +0000

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'}


Tue, 06 Oct 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

Tue, 06 Oct 2026 19:30:00 +0000

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

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-10-07T20:18:20.660Z

Reserved: 2026-10-04T21:57:35.570Z

Link: CVE-2026-101029

cve-icon Vulnrichment

Updated: 2026-10-07T20:18:13.329Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-06T20:17:08.647

Modified: 2026-10-15T02:29:40.883

Link: CVE-2026-101029

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T23:15:08Z

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)