Description
Gitea validated the initial remote URL for push mirrors, wiki remote checks, and fetches of migrated pull request heads, but the subsequent raw Git operations followed HTTP redirects without revalidating the destination. A repository administrator using a policy-allowed endpoint that redirects could make Gitea's Git client send requests to an address that the outbound host policy would otherwise block. The impact depends on the configured policy and the internal services reachable from the server.
Published: 2026-10-06
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Server‑side request forgery exposing internal services
Action: Patch Immediately
AI Analysis

Impact

Gitea performs an initial validation of remote URLs for push mirrors, wiki remote checks, and fetches of migrated pull request heads, but after following HTTP redirects it does not revalidate the final destination. This allows an administrator to configure a redirecting endpoint that, once followed, causes Gitea's internal Git client to issue requests to arbitrary hosts that would normally be blocked by the server’s outbound policy. The result is a server‑side request forgery that can expose internal network resources or reach otherwise unreachable services.

Affected Systems

Products affected are those built on the Gitea code base. The CVE entry identifies Gitea:Gitea as the vendor/product. No specific version range is supplied within the public data, so any installation running a pre‑patched version of Gitea is potentially vulnerable. The fix is referenced in release v28.0.0, implying earlier releases carry the flaw.

Risk and Exploitability

The vulnerability carries a CWE‑918 designation and would be leveraged through a redirection chain from a controlled endpoint. The EPSS score of < 1% indicates a low probability of exploitation, and the issue is not listed in the CISA KEV catalog. However, if the environment allows outbound traffic to internal hosts, a vulnerable Gitea instance could use the redirect to access otherwise blocked services. The impact then depends on the server’s network reachability; if internal networks are reachable, attackers can query internal services; otherwise the damage is limited to the redirect target. Mitigation requires patching or blocking the redirect flow.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Gitea release (v28.0.0 or later) to address the SSRF flaw
  • Configure Gitea to disable or tightly restrict HTTP redirects in mirror and fetch settings
  • Enforce outbound host policy rules to block unexpected internal service access

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 13 Oct 2026 17:30: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': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

ssvc

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


Wed, 07 Oct 2026 00:00: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 validated the initial remote URL for push mirrors, wiki remote checks, and fetches of migrated pull request heads, but the subsequent raw Git operations followed HTTP redirects without revalidating the destination. A repository administrator using a policy-allowed endpoint that redirects could make Gitea's Git client send requests to an address that the outbound host policy would otherwise block. The impact depends on the configured policy and the internal services reachable from the server.
Title Gitea SSRF through Git HTTP redirects in mirrors and fetches
Weaknesses CWE-918
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-10-07T20:13:59.342Z

Reserved: 2026-10-04T21:59:53.559Z

Link: CVE-2026-104636

cve-icon Vulnrichment

Updated: 2026-10-07T20:13:55.348Z

cve-icon NVD

Status : Analyzed

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

Modified: 2026-10-13T17:18:49.457

Link: CVE-2026-104636

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T23:30:07Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)