llamaCVEVulnerability Intelligence
/
Gitea

CVE-2026-125423

Gitea command execution via repository auto-initialization

A user allowed to create repositories can run commands as the system user by using a symlink during setup.

Specific setups onlySin parche publicadosymlink following
Descargar PNG JSON
CVSS 3.1
8.8
Alta
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Fuente: CISA-ADP
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos11 fuente
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición3 dDesde la divulgación, 15 nov 2026, 4:10 p. m.
Detección8 minDesde 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.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada +1
Fuente: PoC-in-GitHub +1
Fuente: OSV +1
15 nov 26
16 nov 26
18 nov 26
19 nov 26
15 nov 26
16 nov 26
17 nov 26
18 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-125423 divulgada · CVSS 8.8 (CISA-ADP)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: PoC-in-GitHub Registro visto por primera vez en PoC-in-GitHub
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 15 nov 2026

Gitea versions affected by this bug let a user who is allowed to create repositories run commands as the Gitea system user. The flaw is in repository auto-initialization: a push sent before setup finishes can use a symbolic link to overwrite a server-side git hook.

Affects Gitea versions before 28.4.0 on servers where repositories are created with auto_init=true using the Default README template. Fixed in 28.4.0.

¿Qué significa?Creating a repository with auto-initialization and the Default README template can let a pushed ref interfere with initial commit generation. A symlinked README.md can then overwrite a server-side Git hook, which runs commands as the operating-system account that runs Gitea.
¿Quién está afectado?Gitea versions before 28.4.0 are affected. The setup also requires repositories created with auto_init=true using the Default README template, on a server with Git symlink support. To check, confirm the installed Gitea version and whether auto-initialization with the Default README template is used.
¿Qué hacer?Upgrade Gitea to version 28.4.0 or later, which contains the fix.
Descripción original del registro (Gitea)

A repository created with auto-init accepted pushes before its initialization had finished, and the initial commit was built in a checkout of whatever the repository already contained. A user who is allowed to create repositories could push a crafted tree during that window so that writing the README followed a symbolic link and overwrote a server-side git hook, which runs commands as the Gitea system user. The initial commit is now built in a freshly initialized directory, and a new repository only becomes ready, and accepts pushes, once its initialization is complete.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Gitea repository created with auto_init=true using the Default README template“auto_init=true with the Default README template”
02
Attacker's pushed ref must become visible before the clone/checkout for initial commit generation (timing race)“the attacker’s ref becoming visible before clone/checkout”
03
Server-side Git symlink support is available“server-side Git symlink support”
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:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
gitea.dev≤ 28.3.0
gitea.dev< 28.4.0
v1.27.3
28.3.0
28.4.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.4.0
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
grigorovichvlad/CVE-2026-125423
1
Ver los 1 repositorios de GitHub
grigorovichvlad/CVE-2026-125423

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Referencias
Fabricantehttps://github.com/go-gitea/gitea/security/advisories/GHSA-6m4f-m9vc-7946
Fabricantehttps://blog.gitea.com/release-of-28.4.0/
Parchehttps://github.com/go-gitea/gitea/pull/40376
Parchehttps://github.com/go-gitea/gitea/pull/40383
Exploithttps://github.com/grigorovichvlad/CVE-2026-125423
Otrahttps://github.com/go-gitea/gitea/releases/tag/v28.4.0

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