llamaCVEVulnerability Intelligence
/
gogs

CVE-2026-52805

Gogs: Migration Redirect Bypass Leads to Internal Repository Theft

Solo en configuraciones específicasSin parche publicadoserver-side request forgery (SSRF)
Descargar PNG JSON
CVSS 3.1
8.7
Alta
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición150 dDesde la divulgación, 24 jun 2026, 3:22 p. m.
Detección131 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. No hay versión corregida: aplique mitigaciones.
Échale un ojo a tu inventario, ¿dale?Ojo de llama: esto puede escalar.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Remediación
Monitoreo
Detectada
Verificada
24 jun 26
26 jun 26
3 nov 26
18 nov 26
22 nov 26
24 jun 26
1 ago 26
8 sept 26
15 oct 26
22 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-52805 divulgada · CVSS 8.7 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Monitoreo Detectada Ingresó al índice
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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.

Gogs versions before 0.14.3 are affected when the repository migration feature is used with a public URL that redirects to an internal endpoint. Fixed in 0.14.3.

¿Qué significa?Migration checks only the hostname of the URL first submitted, but git clone --mirror follows HTTP redirects. A public URL that redirects to an internal endpoint can therefore let authenticated users import contents from internal Git endpoints reachable from the Gogs server, such as source code and secrets.
¿Quién está afectado?Gogs versions before 0.14.3, when the repository migration feature is used with a public URL that redirects to an internal endpoint. To check, compare the installed Gogs version with 0.14.3.
¿Qué hacer?Upgrade Gogs to 0.14.3 or later, which is the fixed version listed for this vulnerability.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Gogs versions before 0.14.3“Affected versions”
02
The repository migration feature is used with a public URL that redirects to an internal endpoint“The application validates only the initially submitted URL hostname, but git clone --mirror follows HTTP redirects.”
¿Quién debe revisar?Teams running self-hosted Gogs servers before 0.14.3 that let users migrate repositories from URLs
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:R
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
7.2/ 10Alto
Vector 7.2 (fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
gogs · gogs.io/gogs< 0.14.3
v0.13.3
0.14.3
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogogs.io/gogs
Sin parche — — v0.13.3 afectada
Versiones corregidas0.14.3
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/gogs/gogs/security/advisories/GHSA-g2f5-gjr4-qjvm
Otrahttps://github.com/gogs/gogs/pull/8324
Otrahttps://github.com/gogs/gogs/commit/b9a0093e9cd1b2b3c7f42f9feca396dc772c4f1b
Otrahttps://github.com/gogs/gogs/releases/tag/v0.14.3

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.