llamaCVEVulnerability Intelligence
/
Advisory · GitHub · PyPI · litellm

GHSA-W4C7-34WJ-HQM8

Unauthenticated file read leaks master key on Enterprise proxy

Parche disponible
Descargar PNG JSON
CVSS 3.1
10.0
Crítica
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche4 versionesPrimer parche el mismo día de la divulgación
Exposición24 dDesde la divulgación, 27 oct 2026, 3:33 p. m.
Detección21 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Parche 1.106.5
Monitoreo
Detectada +1
27 oct 26
18 nov 26
21 nov 26
27 oct 26
2 nov 26
8 nov 26
14 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-W4C7-34WJ-HQM8 divulgada · CVSS 10 (GitHub)
Remediación Parche 1.106.5 litellm · 0 d desde divulgación
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

An unauthenticated request to any LLM route on a LiteLLM proxy running with an Enterprise license could make the proxy read a local file and send its contents to a URL chosen by the attacker. Reading a file like `/proc/self/environ` exposes `LITELLM_MASTER_KEY` and provider API keys, which gives the attacker full admin access to the proxy. In some configurations, this allows the attacker to then execute arbitrary python code as root.

Open source deployments without a license are not affected, because the relevant codepaths only load when an Enterprise license is active. As defense in depth, we also recommend loading the master key from a secret manager instead of the process environment, setting a separate `LITELLM_SALT_KEY`, and limiting the proxy's outbound traffic to known provider endpoints.

### Mitigations
If you cannot update immediately, consider implementing the following:
* Block the trigger at the edge using a WAF, ingress filter, or reverse proxy rule: reject or strip POST request bodies that contain any of the JSON keys:
* `standard_callback_dynamic_params`
* `gcs_path_service_account`
* `callbacks`
* `success_callback`
* `failure_callback`
* Restrict the proxy’s outbound network access to your configured LLM provider endpoints. The exploit requires the proxy to POST the stolen file contents to an attacker-controlled token endpoint; with egress allowlisted, the exfiltration fails even if the vulnerable code is reached.

Separately, we generally recommend keeping the proxy off the public internet where possible (e.g. via VPN, mTLS, an authenticating ingress, or an IP allowlist).

Credit

Originally discovered and reported by Dylan Ong at Karmasec - https://karmasec.io/
Independently discovered and reported by Cyrill Bannwart - Compass Security

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

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:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
litellm< 1.103.10
litellm< 1.104.8
litellm< 1.105.6
litellm< 1.106.5
1.103.10
1.104.8
1.105.6
1.106.5
1.109.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypilitellm
Corregida 1.106.5 0 d 1.109.1 no afectada
Versiones corregidas1.103.101.104.81.105.61.106.5
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/BerriAI/litellm/security/advisories/GHSA-w4c7-34wj-hqm8

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