llamaCVEVulnerability Intelligence
/
Gogs

CVE-2026-123012

In Gogs 0.14.3, the Git Smart HTTP authorization layer in internal/route/repo/http.go allows a push when only read access was intended, a different vulnerability than CVE-2026-52810

Solo en configuraciones específicasSin parche publicadocase-sensitivity bypass
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:L/SA:N Fuente: CNA
ExplotaciónPoC públicaSSVC: PoC · no figura en CISA KEV
Exploits públicos0CISA-ADP reporta PoC; aún sin enlace público
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición17 dDesde la divulgación, 4 nov 2026, 11:52 p. m.
Detección7 minDesde 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.
Mis orejas detectan algo raro por aquí.Yo la vigilo, tú la programas. ¿Trato?
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada +2
Fuente: ENISA EUVD
Verificada
5 nov 26
6 nov 26
9 nov 26
16 nov 26
22 nov 26
5 nov 26
9 nov 26
13 nov 26
18 nov 26
22 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-123012 divulgada · CVSS 7.1 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Análisis de Llama Security · 4 nov 2026

Gogs, a self-hosted Git service, has a flaw in its Git Smart HTTP authorization that lets a user with only read access push changes to a repository over the network. The attacker needs low-privilege login, and no user action is required.

Affects Gogs 0.14.3 and main at the time of writing, where an authenticated read-only collaborator on a private repository can push. Gogs rates it high (CVSS 7.1). No patch is available yet.

¿Qué significa?The Git Smart HTTP authorization layer in Gogs allows a push when only read access was intended. An authenticated read-only user can therefore create, update, or delete refs in a private repository.
¿Quién está afectado?The listed affected versions are Gogs 0.14.3 and main at the time of writing. The described setup is an authenticated read-only collaborator on a private repository, so check the installed Gogs version against 0.14.3 and whether Git Smart HTTP access is enabled.
¿Qué hacer?The advisory names no fixed version and no patch ids, so there is no upgrade target yet. Follow the workaround described under no-patch until a fix is published.
no-patchDisable Git Smart HTTP access by setting DISABLE_HTTP_GIT = true in app.ini and use SSH-only for Git operations. The advisory also suggests a code change: use case-insensitive comparison (strings.EqualFold) in gitHTTPIsPull in internal/route/repo/http.go.
Descripción original del registro (mitre)

In Gogs 0.14.3, the Git Smart HTTP authorization layer in internal/route/repo/http.go allows a push when only read access was intended, a different vulnerability than CVE-2026-52810. This occurs because of a case-sensitivity desync between the authorization classifier and the request dispatcher: the gitHTTPIsPull function compares the Git action verb case-sensitively and defaults to pull (read access) for any unrecognized string, whereas the request dispatcher lowercases the same verb before routing it to the receive-pack handler. Capitalizing a single letter in the URL (e.g. info/Refs instead of info/refs, or git-receive-Pack instead of git-receive-pack) causes the classifier to misidentify a push as a pull, granting only read-level authorization, whereas the dispatcher routes it to the write handler. An authenticated read-only collaborator can exploit this to push to a private repository, creating, updating, or deleting refs.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Gogs 0.14.3, and main at the time of writing“Affected 0.14.3 and main at time of writing”
02
Attacker is an authenticated read-only collaborator on a private repository“lets an authenticated read-only collaborator push to a private repository”
¿Quién debe revisar?Teams running Gogs 0.14.3 (or main) with private repositories shared with read-only collaborators
MitigaciónDisable Git Smart HTTP access (set DISABLE_HTTP_GIT = true in app.ini) and use SSH-only for Git operations
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:L
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/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.

Registro
EscenarioGENERALmitre
MitigaciónDisable Git Smart HTTP access (set DISABLE_HTTP_GIT = true in app.ini) and use SSH-only for Git operationsmitre
solutionNo patch available. Use case-insensitive comparison (strings.EqualFold) in gitHTTPIsPull in internal/route/repo/http.gomitre
Referencias
Fabricantehttps://github.com/gogs/gogs/security/advisories/GHSA-wmfg-5p4h-5fw3
Otrahttps://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L415-L418
Otrahttps://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L64-L68
Otrahttps://humanoid.sh/blog/gogs-cve-2026-123012/
Otrahttps://github.com/gogs/gogs/blob/3ba8aca90e17e5410b7e8b227c9f29256ac3e875/internal/route/repo/http.go#L64-:68

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