llamaCVEVulnerability Intelligence
/
Advisory · PyPA · PyPI · litellm

PYSEC-2026-2

Two litellm versions published containing credential harvesting malware

Parche disponible
Descargar PNG JSON
CVSS
—
N/D
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a 7 d de la divulgación
Exposición239 dDesde la divulgación, 24 mar 2026, 10:35 a. m.
Detección237 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche 1.83.0
Monitoreo
Detectada
24 mar 26
25 mar 26
31 mar 26
17 nov 26
19 nov 26
24 mar 26
23 may 26
22 jul 26
20 sept 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada PYSEC-2026-2 divulgada
Divulgación Modificada Última actualización del registro
Remediación Parche 1.83.0 litellm · 7 d desde divulgación
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · PyPA · en inglés

After an API Token exposure from an exploited Trivy dependency,
two new releases of `litellm` were uploaded to PyPI containing automatically activated malware,
harvesting sensitive credentials and files, and exfiltrating to a remote API.

The malicious code runs during importing any module from the package and scans
the file system and environment variables, collecting all kinds of
sensitive data, including but not limited to private SSH keys, credentials to Git and
Docker repositories, dotenv files, tokens to Kubernetes service accounts,
databases and LDAP configuration. Also exfiltrated are multiple shell history
files and cryptowallet keys. The malware actively attempts to obtain cloud access tokens
from metadata servers and retrieve secrets stored in AWS Secrets Manager.
All collected data are sent to the domain models.litellm[.]cloud

Furthermore, the code includes a persistence mechanism by configuring
a SystemD service unit masqueraded as "System Telemetry Service" on the host it
runs on, and in a Kubernetes environment also by creating a new pod.
The persistence script then contacts hxxps://checkmarx[.]zone/raw for
further instructions.

Anyone who has installed and run the project should assume
any credentials available to litellm environment may have been exposed,
and revoke/rotate them accordingly. The affected environment should be
isolated and carefully reviewed against any unexpected modifications
and network traffic.

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

Versiones

Rangos afectados

Afectada Corregida Última
litellm≥ 1.82.7 ≤ 1.82.8
1.82.7
1.82.8
1.109.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypilitellm
Corregida 1.83.0 7 d 1.109.1 no afectada
Versiones corregidas1.83.0
Explotación

Arsenal público

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

Referencias
Reportehttps://inspector.pypi.io/project/litellm/1.82.8/packages/f6/2c/731b614e6cee0bca1e010a36fd381fba69ee836fe3cb6753ba23ef2b9601/litellm-1.82.8.tar.gz/litellm-1.82.8/litellm_init.pth#line.1
Reportehttps://inspector.pypi.io/project/litellm/1.82.7/packages/79/5f/b6998d42c6ccd32d36e12661f2734602e72a576d52a51f4245aef0b20b4d/litellm-1.82.7-py3-none-any.whl/litellm/proxy/proxy_server.py#line.130
Reportehttps://github.com/BerriAI/litellm/issues/24518
Otrahttps://futuresearch.ai/blog/litellm-pypi-supply-chain-attack/
Otrahttps://www.wiz.io/blog/teampcp-attack-kics-github-action
Otrahttps://docs.litellm.ai/blog/security-update-march-2026

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