CVE-2026-101023Gitea
Escalada de privilegios en validación de tokens OAuth2 en Gitea
Crítica 9.1 Sin autenticación
Seguir: esta CVE · Gitea · Gitea Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 6 oct 2026
- Actualizada
- 13 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-287
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Qué pasa
Gitea no validaba correctamente que un token enviado al endpoint de OAuth2 fuera un refresh token, permitiendo que un token de acceso sin expirar se intercambiara por nuevos tokens. Un atacante con acceso a un token de acceso válido podría mantener acceso indefinidamente más allá de su tiempo de vida original.
Ver el texto original de NVD (en inglés)
Gitea's OAuth2 token endpoint verified the signature and grant of a token submitted with the `refresh_token` grant type, but not that the token was a refresh token. An unexpired access token for the same OAuth2 application and grant could be exchanged for a new access token and refresh token. Whoever holds such an access token could keep access beyond the token's original lifetime.
Qué hacer
Hay parche · versiones corregidas: 28.1.0
Actualiza Gitea a la versión 28.1.0 o posterior para aplicar la validación correcta de tokens OAuth2.
- Aplica la actualización de seguridad del fabricante para Gitea.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| gitea | gitea | < 28.1.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- blog.gitea.com Release Notes
- github.com Patch
- github.com Patch
- github.com Release Notes
- github.com Vendor Advisory