GHSA-WF5J-FWFR-MMWQ
Missing tenant/owner filter in SSE watch streams discloses cloud credentials, worker pools, and model providers across tenants
Texto original en inglés · Ver en español
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
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-WF5J-FWFR-MMWQ divulgada · CVSS 4.3 (GitHub) | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
Three server-sent-events "watch" endpoints omit the tenant/owner visibility
predicate that their paginated counterparts apply. An authenticated,
non-administrator user can therefore read rows they are not authorized to see,
both in the initial replay and in subsequent bus events.
Affected endpoints
- `GET /v2/cloud-credentials?watch=true`
- `GET /v2/worker-pools?watch=true`
- `GET /v2/model-providers?watch=true` (narrower: gated behind the
Details
The paginated list paths build their query with the tenant visibility
conditions. The `params.watch` branches instead call the shared streaming
helper without an owner filter. Because the helper replays a full cached
snapshot before forwarding bus events, both the initial replay and every
subsequent event cross the ownership boundary.
Two deployment shapes are affected:
- Multi-organization deployments (enterprise-tier feature; the tenant code
- Single-tenant deployments with no organizations: every non-admin user
Impact
Disclosure of infrastructure metadata: for cloud credentials, the public
projection includes the credential `key`, provider, options, owner id, name,
and metadata. The separate `secret` field is not included in the
projection and is not disclosed. For the providers shipped in-tree, `key` is an
identifier rather than an authenticator. There is no integrity or availability
impact, and no privilege escalation.
The open-source console does not surface these resources to non-admin users, so
exploitation requires calling the API directly. Both endpoints are nonetheless
on the authenticated non-admin router by design, with row-level ownership as
the intended boundary, and both are published in the OpenAPI schema.
Patches
Fixed in 2.3.0. All three watch paths now apply a shared
row-level visibility predicate mirroring the paginated list conditions.
Regression tests cover initial replay and subsequent bus events, in both the
cross-organization and single-tenant shapes.
Workarounds
Restrict network access to the affected `watch=true` endpoints at the reverse
proxy, or limit API token issuance to trusted operators, until the patched
release is deployed.
Credits
Reported by Syed Ghaffar (Opsbreak Inc.).
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-wf5j-fwfr-mmwqLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
