CVE-2026-123002
Gitea two-factor bypass via unlimited TOTP guessing
An attacker with a known password can guess TOTP codes by trying many quickly and sign in without the second factor.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Fuente: CISA-ADP
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-123002 divulgada · CVSS 7.5 (CISA-ADP) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| 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 |
Gitea, a self-hosted Git service, did not limit how many wrong TOTP passcodes could be tried during sign-in, the password reset flow, or Basic authentication using the X-Gitea-OTP header. An attacker who already knows an account's password could guess the six-digit code by trying many codes quickly and sign in despite two-factor authentication.
Affects Gitea up to and including 28.3.0, but only for accounts with TOTP two-factor authentication enabled. Fixed in 28.4.0.
Descripción original del registro (Gitea)
Gitea accepted an unlimited number of wrong TOTP passcodes during sign-in, in the password reset flow and for Basic authentication with the `X-Gitea-OTP` header. An attacker who already knows an account's password could guess the six-digit passcode by trying codes at a high rate and sign in despite two-factor authentication. After five failed passcodes, further attempts for the account are now refused for 15 minutes.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
gogitea.dev |
Sin parche | — | — | v1.27.3 afectada |
28.4.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/go-gitea/gitea/security/advisories/GHSA-5mx6-8rwm-52wfhttps://blog.gitea.com/release-of-28.4.0/https://github.com/go-gitea/gitea/pull/39993https://github.com/go-gitea/gitea/pull/40374https://github.com/go-gitea/gitea/releases/tag/v28.4.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
