llamaCVEVulnerability Intelligence
/
gogs

CVE-2026-52810

Gogs: Write to readonly repositories using receive-pack + service=git-upload-pack confusion

Solo en configuraciones específicasSin parche publicado
Descargar PNG JSON
CVSS 4.0
7.1
Alta
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónPoC públicaSSVC: PoC · no figura en CISA KEV
Exploits públicos11 fuente
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición150 dDesde la divulgación, 24 jun 2026, 3:30 p. m.
Detección131 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico parcial. No hay versión corregida: aplique mitigaciones.
Ojo de llama: esto puede escalar.Revisa si tu versión cae en el rango. Te espero.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada
Verificada
24 jun 26
25 jun 26
3 nov 26
16 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-52810 divulgada · CVSS 7.1 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Gogs is an open source self-hosted Git service. Prior to 0.14.3, Git smart HTTP authorizes POST …/git-receive-pack using the client-supplied service query string (so ?service=git-upload-pack is evaluated as read access) while routing still runs git receive-pack, allowing push where only read should be allowed. This vulnerability is fixed in 0.14.3.

Gogs versions before 0.14.3 using the Git smart HTTP handler are exposed, where a collaborator with only read rights can push. Fixed in 0.14.3.

¿Qué significa?A collaborator who only has read access to a repository can push to it, which writes to repositories they should not be able to change. Force pushes can also overwrite history on main branches.
¿Quién está afectado?Gogs versions before 0.14.3 that use the Git smart HTTP handler are affected. The risk is higher on instances with REQUIRE_SIGNIN_VIEW enabled, where any signed-in user can reach public repositories; check the installed Gogs version and that setting.
¿Qué hacer?Upgrade Gogs to 0.14.3 or later, which is the listed fixed version.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Gogs versions before 0.14.3 using the Git smart HTTP handler“Git smart HTTP authorizes POST …/git-receive-pack using the client-supplied service query string”
02
Attacker is a collaborator with only read rights on the repository“Attacker = collaborator with only Read rights”
03
Instance has REQUIRE_SIGNIN_VIEW enabled, so any signed-in user can attack public repositories“Instance using REQUIRE_SIGNIN_VIEW = true”
¿Quién debe revisar?Operators of self-hosted Gogs instances before 0.14.3, especially none; includes those with read-only collaborators or REQUIRE_SIGNIN_VIEW enabled.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:N
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:L
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 8.3 (muy fácil) · +1.7 por PoC pública.
Versiones

Rangos afectados

Afectada Corregida Última
gogs.io/gogstodas
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

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

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/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3
Exploithttps://github.com/HORKimhab/CVE-2026-52810
Otrahttps://github.com/gogs/gogs/pull/8331
Otrahttps://github.com/gogs/gogs/commit/7c9cf53aca957959bcd98b0cc987d9901b7cb184
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.