CVE-2026-104636 Gitea SSRF through Git HTTP redirects in mirrors and fetches
HighCVSS 7.5
EPSS 0.45%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Gitea | < 28.0.0; <= 1.27.3 | 28.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea | <= 1.27.3 | No fix listed |
| Gitea | < 28.0.0 | 28.0.0 |
References
- GitHub Security Advisory GHSA-g4hw-fg4c-89mq mitigation vendor-advisory
- Fix: go-gitea/gitea pull request #39426 patch
- Gitea 28.0.0 release announcement release-notes
- go-gitea/gitea v28.0.0 release release-notes
- ENISA EUVD EUVD-2026-93916 third-party-advisory