llamaCVEVulnerability Intelligence
/
Gitea

CVE-2026-66877

Gitea fork workflow approval bypass through concurrency cancellation

Solo en configuraciones específicasSin parche publicadoaccess control bypass
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ónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición38 dDesde la divulgación, 14 oct 2026, 9:36 a. m.
Detección8 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. No hay versión corregida: aplique mitigaciones.
Nivel de sospecha: ceja levantada.Yo la vigilo, tú la programas. ¿Trato?
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Evaluación SSVC +1
Modificada
Explotación
Remediación
Monitoreo
Detectada
Fuente: OSV
Verificada
14 oct 26
15 oct 26
22 oct 26
24 oct 26
19 nov 26
22 nov 26
14 oct 26
23 oct 26
2 nov 26
12 nov 26
22 nov 26
FechaFaseEventoDetalle
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Publicada CVE-2026-66877 divulgada · CVSS 8.1 (CISA-ADP)
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 enforces first-time fork contributor approval by blocking jobs, but some job transition and dispatch paths do not re-check the run's approval requirement. A separate run sharing a job-level concurrency group can cancel a pending job and cause its blocked sibling jobs to be re-emitted and dispatched without approval. This allows unreviewed workflow code to execute on self-hosted runners; fork secrets remain withheld and the run token remains read-only.

Only Gitea 1.27.2 and earlier is affected, and the code-execution impact applies to self-hosted runners that run fork pull request workflows. Fixed in Gitea 1.27.3.

¿Qué significa?A workflow run from a first-time fork contributor that is held for maintainer approval can be re-evaluated when a separate, legitimate run in the same repository shares a job-level concurrency group with it. This can let unreviewed workflow code run on self-hosted runners, with access to the runner host, including the internal network, runner caches, workspaces, credentials, and persistence into later trusted builds. Fork secrets stay withheld and the run token stays read-only.
¿Quién está afectado?Gitea versions up to and including 1.27.2 are affected. The code-execution impact applies to instances that run fork pull request workflows on self-hosted runners; instances that do not run fork pull request workflows on self-hosted runners are not exposed to that impact. To check, compare the installed version with the Gitea version list and review whether self-hosted runners execute workflows from fork pull requests.
¿Qué hacer?Upgrade to Gitea 1.27.3, which contains the fix (#39005, #39018).
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Gitea versions up to and including 1.27.2 are affected.“Affected versions <= 1.27.2”
02
Workflow runs from first-time fork contributors held for maintainer approval; a separate run in the same repository sharing a job-level concurrency group with the pending run is needed.“A separate, legitimate run in the same repository that shares a job-level concurrency group with the pending run can cause the pending run to be re-evaluated”
03
Self-hosted runners executing fork pull request workflows are exposed to code execution.“Instances that do not run fork pull request workflows on self-hosted runners are not exposed to the code-execution impact.”
¿Quién debe revisar?Teams running Gitea 1.27.2 or earlier with Gitea Actions and self-hosted runners that execute workflows from fork pull requests.
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
8.3/ 10Alto
Vector 8.3 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
code.gitea.io/gitea≤ 1.27.2
v1.26.4
1.27.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gocode.gitea.io/gitea
Sin parche — — v1.26.4 afectada
Versiones corregidas1.27.3
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-v2w8-m4gr-qj65
Fabricantehttps://blog.gitea.com/release-of-1.27.3/
Parchehttps://github.com/go-gitea/gitea/pull/39005
Parchehttps://github.com/go-gitea/gitea/pull/39018
Otrahttps://github.com/go-gitea/gitea/releases/tag/v1.27.3

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