CVE-2026-104636 Gitea SSRF through Git HTTP redirects in mirrors and fetches
A repository administrator can trigger Server-Side Request Forgery in Gitea by exploiting unvalidated HTTP redirects during Git operations, potentially accessing internal services.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-104636?
CVE-2026-104636 is a high-severity server-side request forgery vulnerability in Gitea Gitea, published on 6 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-918
Which versions are affected by CVE-2026-104636?
1 open source package ship an affected version, including gitea. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gitea Bitnami | All versions | 28.0.0 |
Products include Gitea Gitea.
How do I fix CVE-2026-104636?
Upgrade gitea to 28.0.0 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-104636 being exploited?
There is no known exploitation of CVE-2026-104636 in the wild and no public exploit code.
Other vulnerabilities in Gitea Gitea
Sources
Also known as BIT-gitea-2026-104636, GHSA-g4hw-fg4c-89mq, MINI-646q-v3r7-r24w, MINI-g3cr-g4f9-67qf.