GHSA-444M-Q66G-C6W5
Missing cluster authorization in POST /v2/model-files allows cross-tenant ModelFile creation and worker file write
Texto original en inglés · Ver en español
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 2.3.0 | gpustack · -3 d desde divulgación | |
| Divulgación | Publicada | GHSA-444M-Q66G-C6W5 divulgada · CVSS 8.5 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
A missing cluster authorization check in GPUStack's model file creation API allows an authenticated Organization Owner to initiate model downloads on a worker whose cluster they are not authorized to manage.
The attacker can select the target worker and a custom download directory. When the worker processes the request, it can write files from the selected model source to that directory, including locations outside the configured model cache, subject to the worker process's filesystem permissions.
The issue affects both workers belonging to another organization and workers in shared clusters where the caller has usage access but lacks management permission.
Details
In affected versions, `POST /v2/model-files` resolves the supplied `worker_id` without checking whether the caller is authorized to manage the worker's cluster.
The handler derives the new ModelFile record's cluster and ownership fields from the selected worker. Assigning those fields does not authorize the caller to create the record in that scope.
The request also supplies `local_dir`, which the worker passes to the model downloader as the destination directory. Workers process download tasks assigned to their worker ID, allowing an unauthorized request to cause filesystem writes on the selected worker.
Exploitation requirements
An attacker must:
- Be authenticated with the Organization Owner role.
- Know the ID of a target worker.
- Select a supported model source that the worker can access.
Filesystem impact additionally requires the worker to process the download task and have permission to write to the selected destination.
Access to a shared cluster for workload usage does not grant permission to manage model files on its workers.
Impact
Successful exploitation allows unauthorized creation of ModelFile records and model downloads on another organization's worker or a shared worker the caller is not authorized to manage.
The resulting downloads can consume worker storage and modify files within locations writable by the worker process. The exact filesystem impact depends on the download source, downloader behavior, process permissions, and available filesystem mounts.
This finding does not by itself establish arbitrary host filesystem access or remote code execution.
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypigpustack |
Corregida | 2.3.0 | -3 d | 2.3.1 no afectada |
2.3.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/gpustack/gpustack/security/advisories/GHSA-444m-q66g-c6w5Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
