CVE-2026-118394
Gitea information disclosure in OAuth2 userinfo endpoint
Public-only token holders can see names of the owner's private organizations, teams, and hidden memberships.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Fuente: CISA-ADP
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-118394 divulgada · CVSS 4.3 (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 |
Gitea, the self-hosted Git service, is affected through its OAuth2 userinfo endpoint. A caller holding a public-only token could see the names of the token owner's private organizations, teams, and hidden memberships, though no repository content was exposed.
Affects Gitea 1.23.0 through 28.2.0 when OAuth2 tokens are limited to public data. No vendor rating is given. Fixed in 28.3.0.
Descripción original del registro (Gitea)
The OAuth2 userinfo endpoint (`/login/oauth/userinfo`) decided whether to limit the `groups` claim to public organizations by re-parsing the `Authorization` header as an OAuth2 access token instead of using the scope of the credential that authenticated the request. When a public-only OAuth2 token was sent as a query parameter or form field, or a public-only personal access token was used, that scope came back empty and the claim listed the token owner's private organizations, teams and concealed memberships. The disclosure is limited to the owner's organization and team names and memberships; no repository content is exposed. The endpoint now uses the scope of the authenticating token.
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.3.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-q9gm-9c7q-c5hqhttps://blog.gitea.com/release-of-28.3.0/https://github.com/go-gitea/gitea/pull/39690https://github.com/go-gitea/gitea/pull/39853https://github.com/go-gitea/gitea/releases/tag/v28.3.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
