llamaCVEVulnerability Intelligence
/
Gitea

CVE-2026-70357

Gitea repository migration SSRF through DNS rebinding

Afecta la configuración por defectoSin parche publicadoserver-side request forgery (SSRF)
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Fuente: CISA-ADP
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición45 dDesde la divulgación, 6 oct 2026, 2:24 p. m.
Detección16 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, automatizable e impacto técnico parcial. No hay versión corregida: aplique mitigaciones.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada
Fuente: OSV
Verificada
6 oct 26
7 oct 26
22 oct 26
24 oct 26
20 nov 26
21 nov 26
6 oct 26
18 oct 26
29 oct 26
9 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-70357 divulgada · CVSS 7.5 (CISA-ADP)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Gitea validates a repository migration hostname against its network allow and block lists before invoking Git, but the Git subprocess independently resolves the hostname when connecting. An attacker who can start a migration and control the destination's DNS can change the address between validation and connection to reach a blocked internal address. The affected path is the Git clone operation; validation in the migration HTTP client's dialer does not protect the independently connecting Git subprocess.

¿Qué significa?Gitea's repository migration feature checks a destination hostname against private IP ranges when it validates the request. The git clone subprocess then resolves the hostname again when it connects. If an attacker can change that hostname's DNS answer between the two steps, the clone can reach localhost or other blocked internal addresses, such as the Gitea API on port 3000, Redis, PostgreSQL, and cloud metadata endpoints.
¿Quién está afectado?The affected product ranges list Gitea up to and including 1.27.3, and the gitea package before 28.0.0. The exposed setup is one that uses the repository migration feature. To check a version, run gitea --version on the server.
¿Qué hacer?The advisory data lists 28.0.0 as the fixed version for the gitea package, so upgrade to 28.0.0 or later. The facts give no workaround for versions without the fix.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Repository migration feature in which the destination hostname's DNS can be changed by the attacker between validation and the Git connection“Gitea's repository migration feature validates hostnames against private IP ranges at validation time”
02
The git clone subprocess resolves the hostname independently when connecting“The git subprocess performs independent DNS resolution when connecting”
¿Quién debe revisar?Teams running self-hosted Gitea 1.27.3 or earlier that let users run repository migrations, including pull mirrors and push mirrors
Vector CVSS 3.1

Desglose de métricas

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

Rangos afectados

Afectada Corregida Última
gitea.dev≤ 1.27.3
gitea< 28.0.0
1.27.3
v1.27.3
28.0.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogitea.dev
Sin parche — — v1.27.3 afectada
Versiones corregidas28.0.0
Explotación

Arsenal público

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

Referencias
Fabricantehttps://github.com/go-gitea/gitea/security/advisories/GHSA-p3pc-g8m5-hrrr
Fabricantehttps://blog.gitea.com/release-of-28.0.0/
Parchehttps://github.com/go-gitea/gitea/pull/39426
Otrahttps://github.com/go-gitea/gitea/releases/tag/v28.0.0

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