CVE-2026-52805
published high CVSS 3.1 · 8.7Gogs: Migration Redirect Bypass Leads to Internal Repository Theft
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gogs | — | gogs< 0.14.3 | Affected | Not stated | GitHub_M |
Description
Gogs is an open source self-hosted Git service. Prior to 0.14.3, a Server-Side Request Forgery (SSRF) vulnerability exists in the repository migration functionality. The application validates only the initially submitted URL hostname, but git clone --mirror follows HTTP redirects. An authenticated user can submit a public URL that redirects to a blocked internal endpoint (e.g., 127.0.0.1), importing the internal repository's contents into an attacker-controlled repository. This vulnerability is fixed in 0.14.3.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gogs | gogs | < 0.14.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
References
4Provider assertions
2GitHub_M · cna
Gogs: Migration Redirect Bypass Leads to Internal Repository Theft
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7cb390114742714c76bda156ed721ddf417ba155cac577cfe4d1af395c995fa1
- Ingested
- 03 Nov 2026, 22:20:13 UTC
- Source record
- Official CVE record