llamaCVEVulnerability Intelligence
/
Gitea

CVE-2026-120263

Gitea account takeover in OAuth2

An attacker with an OAuth2 provider account can take over other users' accounts without knowing their password.

Specific setups onlySin parche publicadoauthentication bypass
Descargar PNG JSON
CVSS 3.1
9.8
Crítica
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Fuente: CISA-ADP
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición18 dDesde la divulgación, 1 nov 2026, 4:47 a. m.
Detección6 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Sin explotación conocida, 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: OSV
Verificada
1 nov 26
6 nov 26
18 nov 26
19 nov 26
1 nov 26
5 nov 26
10 nov 26
15 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-120263 divulgada · CVSS 9.8 (CISA-ADP)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
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

Gitea, the self-hosted Git service, is affected when its OAuth2 account auto-linking option is enabled alongside open registration. An attacker with an account on a configured OAuth2 provider could take over another user's Gitea account, including an administrator account, without knowing its password, and the takeover would persist for later sign-ins.

Affects Gitea before 28.3.0 when ACCOUNT_LINKING is set to auto (non-default) with open registration enabled. Fixed in 28.3.0.

¿Qué significa?With ACCOUNT_LINKING set to auto and open registration enabled, an attacker can gain a full authenticated session as another Gitea user, including an administrator, without that user's password. The link persists for later sign-ins.
¿Quién está afectado?Gitea versions before 28.3.0 are affected, but only when ACCOUNT_LINKING is set to auto, which is non-default, and open registration is enabled. Check your Gitea version and the ACCOUNT_LINKING setting to see which case applies.
¿Qué hacer?Upgrade Gitea to 28.3.0 or later, the fixed version listed for this vulnerability.
Descripción original del registro (Gitea)

When `[oauth2_client].ACCOUNT_LINKING` is set to `auto` (not the default) and registration is enabled, the link-account sign-up form looked up the existing account to link by the user name or email submitted in the form instead of the identity asserted by the OAuth2 provider. An attacker with an account on a configured OAuth2 provider could submit another user's name, link their external identity to that Gitea account and be signed in as it without its password, including as an administrator. The link persisted for later sign-ins. Automatic linking now only happens when the existing account matches the provider's email or provider-derived user name; otherwise the account password is required.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
ACCOUNT_LINKING set to auto (non-default)“setting ACCOUNT_LINKING = auto (non-default)”
02
Open registration enabled“With ACCOUNT_LINKING = auto and open registration”
¿Quién debe revisar?Teams running Gitea 28.2.0 or older with ACCOUNT_LINKING = auto and open registration, using OAuth2 sign-in.
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:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
gitea.dev≤ 28.2.0
gitea.dev< 28.3.0
v1.27.3
28.2.0
28.3.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.3.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-8p3x-w464-4g6v
Fabricantehttps://blog.gitea.com/release-of-28.3.0/
Parchehttps://github.com/go-gitea/gitea/pull/40121
Parchehttps://github.com/go-gitea/gitea/pull/40137
Otrahttps://github.com/go-gitea/gitea/releases/tag/v28.3.0

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