← Back to search

CVE-2026-104636

7.5 HIGHpublic exploit available

Published 2026-10-06 · Updated 2026-10-07

AI risk analysis

Summary
Gitea's Git client validates initial remote URLs but fails to revalidate destinations after HTTP redirects, allowing attackers to bypass outbound host policies and redirect requests to otherwise blocked internal services. This creates a potential vector for unauthorized access to internal systems through repository configuration.
Exploitability
Exploitation requires a repository administrator to configure a policy-allowed endpoint that redirects to a blocked destination, making it moderately difficult but possible with proper social engineering or misconfigured policies.
Blast radius
The impact varies by configured policy but could allow access to internal services reachable from the Gitea server, potentially exposing sensitive data or systems behind firewalls.
Detection
Monitor Git operation logs for unexpected redirect patterns in outbound HTTP requests, particularly when push mirrors, wiki remote checks, or pull request fetches are performed, looking for connections to non-policy-allowed endpoints that should have been blocked.
Prioritized remediation
Upgrade to Gitea version 2.590 or later to receive the fix for CVE-2026-104636.
gitpolicy-bypassredirectaccess-control

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

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

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Weaknesses

CWE-918

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.