CVE-2026-58418 Details
Description
SSRF via HTTP Redirect in Repository Migration
A server-side request forgery (SSRF) vulnerability has been identified in Gitea versions through 1.25.4, specifically within the repository migration feature. The issue arises when a user migrates a repository from an external URL. Gitea correctly blocks direct imports from internal addresses. However, if the initial URL redirects to an internal service, Gitea follows the redirect without revalidating the destination. This flaw allows a low-privilege user to access internal services via Gitea as a proxy, potentially exfiltrating sensitive data or interacting with internal systems.
Users are advised to upgrade to Gitea version 1.26.4, which addresses this vulnerability by blocking HTTP redirects during repository migration that could lead to internal addresses.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 3, 2026CISA-ADP
Assessed Jul 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/go-gitea/gitea/security/advisories/GHSA-rqhx-647v-wx32 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://blog.gitea.com/release-of-1.26.3-and-1.26.4/ | Gitea Limited | Release NotesVendor |
| https://github.com/go-gitea/gitea/pull/38108 | Gitea Limited | Issue TrackingVendor |
| https://github.com/go-gitea/gitea/releases/tag/v1.26.4 | Gitea Limited | Release NotesVendor |
| https://github.com/go-gitea/gitea/security/advisories/GHSA-rqhx-647v-wx32 | Gitea Limited | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | Gitea Limited |
Affected Products
| Product | Versions |
|---|---|
| Gitea | <= 1.25.4 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 6, 2026 | CVE Modified | CISA-ADP |
| Jul 3, 2026 | New CVE Received | Gitea Limited |
Volerion