llamaCVEVulnerability Intelligence
/
Gitea

CVE-2026-73804

Gitea API token scope escalation through HTTP signatures

Solo en configuraciones específicasParche disponibleprivilege escalation
Descargar PNG JSON
CVSS 3.1
8.1
Alta
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N Fuente: CISA-ADP
ExplotaciónPoC públicaSSVC: PoC · no figura en CISA KEV
Exploits públicos0CISA-ADP reporta PoC; aún sin enlace público
Parche1 versiónPrimer parche a -93 d de la divulgación
Exposición37 dDesde la divulgación, 14 oct 2026, 9:38 a. m.
Detección8 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 total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche v1.27.0
Monitoreo
Detectada
Fuente: OSV
Verificada
13 jul 26
14 oct 26
18 oct 26
22 oct 26
24 oct 26
20 nov 26
21 nov 26
13 jul 26
15 ago 26
16 sept 26
19 oct 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche v1.27.0 gitea.dev · -93 d desde divulgación
Divulgación Publicada CVE-2026-73804 divulgada · CVSS 8.1 (CISA-ADP)
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 Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Gitea allows a token with write:user scope to register an attacker-controlled SSH public key on the token owner's account. API requests signed with the corresponding private key authenticate as that account through HTTP Signature without API token scope information, causing route-level token scope checks to be skipped. This converts a user-scoped token into an unscoped API authentication method while retaining the account's normal role and repository permissions.

Affects Gitea v1.26.4 and earlier, where a token with only write:user scope can obtain an unscoped HTTP Signature API credential for the same account. Gitea 1.27.2 or later is needed.

¿Qué significa?A token that has only write:user scope can be used to obtain an unscoped HTTP Signature API credential for the same account. That credential reaches API categories beyond the token's scope, limited only by the account's normal RBAC.
¿Quién está afectado?Gitea v1.26.4 and earlier are affected. The attack needs a token with write:user scope owned by the account, so check the Gitea version and the scopes of the tokens on the account.
¿Qué hacer?Gitea 1.27.2 or later is needed to resolve this issue.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Gitea 1.27.2 or later is needed; affected versions are v1.26.4 and earlier.“Affected versions <= v1.26.4”
02
The attacker needs a token with write:user scope owned by the victim account.“A token with only write:user cannot directly call unrelated API categories such as write:admin .”
¿Quién debe revisar?Teams running Gitea instances (v1.26.4 and earlier) where users hold write:user API tokens, including site admins whose accounts can be reached through HTTP Signature API auth.
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: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
gitea.dev≤ 1.26.4
gitea.dev≤ v1.26.4
1.26.4
v1.26.4
v1.27.3
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogitea.dev
Corregida v1.27.0 -93 d v1.27.3 no afectada
Versiones corregidasv1.27.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-q55v-4cmj-xh65
Fabricantehttps://blog.gitea.com/release-of-1.27.2/
Parchehttps://github.com/go-gitea/gitea/pull/38862
Parchehttps://github.com/go-gitea/gitea/pull/38895
Otrahttps://github.com/go-gitea/gitea/releases/tag/v1.27.2

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