llamaCVEVulnerability Intelligence
/
Advisory · GitHub · PyPI · gpustack

GHSA-G665-42M7-MGCV

Cross-cluster worker registration due to missing cluster authorization in POST /v2/workers

Texto original en inglés · Ver en español

Parche disponible
Descargar PNG JSON
CVSS 3.1
8.8
Alta
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -3 d de la divulgación
Exposición26 dDesde la divulgación, 25 oct 2026, 8:37 p. m.
Detección23 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir de cerca
Monitorear y programar la remediación
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Agéndala y deja de pensar en ella.Huele a "ya lo veré". No la dejes así.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Parche 2.3.0
Monitoreo
Detectada +1
23 oct 26
26 oct 26
18 nov 26
21 nov 26
23 oct 26
30 oct 26
6 nov 26
14 nov 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 2.3.0 gpustack · -3 d desde divulgación
Divulgación Publicada GHSA-G665-42M7-MGCV divulgada · CVSS 8.8 (GitHub)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

## Summary
`POST /v2/workers` authorizes callers only by principal *kind*
(`is_admin` OR `kind == SYSTEM`) and reads the target `cluster_id` from the
request body. It verifies the cluster exists but never verifies that the
calling principal belongs to that cluster. Because every registered worker
holds a per-worker SYSTEM registration token, any worker token from one
cluster can create and modify workers in any other cluster on the same
server.

## Details
- Route authorization: the handler gate is a kind-only check
(`user.is_admin or user.kind == PrincipalType.SYSTEM`). A worker's own
token authenticates as a SYSTEM principal, so it passes.
- Cluster selection: `cluster_id` is taken from the request body; the only
validation is an existence/soft-delete check on the cluster. The
per-cluster scoping applied on read paths (scoped_cluster_id) is not
applied on this write path — the handler operates on the raw
authenticated principal rather than the tenant context.
- Idempotent name path: the "already exists in another cluster" guard
compares the existing worker's cluster against the attacker-controlled
`cluster_id`, so it can be trivially satisfied.

## Impact
An attacker holding any single cluster's worker registration token can:
1. Register a worker into a different cluster with an attacker-chosen
network address, causing the scheduler to route model instances (and
inference traffic) to an attacker-controlled host (integrity /
confidentiality of inference).
2. Re-register using an existing worker's name and receive that worker's
stored token, gaining read/write access scoped to the victim cluster
(models, weights, instances, credentials).

## Affected component
`POST /v2/workers` (worker registration handler).

## Patches
Enforce cluster ownership on the registration path: cluster-scoped SYSTEM
principals may only target their own cluster (ignore / reject a body
`cluster_id` that does not match the principal's cluster). Only platform
admin and the server-level registration token may target an arbitrary
cluster. Fixed in 2.3.0.

## Workarounds
No configuration-level workaround; treat all distributed worker
registration tokens as cluster-privileged and restrict network access to
the management API until patched.

## Credit
Reported by Kirill Oskin.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
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:H
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
gpustack≥ 2.2.0 < 2.3.0
2.2.0
2.3.0
2.3.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypigpustack
Corregida 2.3.0 -3 d 2.3.1 no afectada
Versiones corregidas2.3.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/gpustack/gpustack/security/advisories/GHSA-g665-42m7-mgcv

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