# MAL-2026-2144: Two litellm versions published containing credential harvesting malware

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Unknown
- **Aliases:** PYSEC-2026-2
- **Published:** 2026-03-24T15:35:32.000Z
- **Modified:** 2026-03-25T16:45:07.164Z

## Who should check

- Projects that depend on PyPI package litellm (\>= 1.82.7, \<= 1.82.8)

## Description

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.

## Affected and fixed versions

- PyPI `litellm`: affected \>= 1.82.7, \<= 1.82.8; fixed no fix listed yet (osv)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by MAL-2026-2144. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/MAL-2026-2144.md
Affected: litellm >= 1.82.7, <= 1.82.8
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for litellm (PyPI): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is MAL-2026-2144 being exploited?

There is no confirmed exploitation: MAL-2026-2144 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available.

### How serious is MAL-2026-2144?

It has no CVSS score yet. Unknown.

### Which versions are affected by MAL-2026-2144?

litellm \>= 1.82.7, \<= 1.82.8.

### Is there a fix for MAL-2026-2144?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by MAL-2026-2144?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- exploit: <https://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>
- exploit: <https://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>
- article: <https://futuresearch.ai/blog/litellm-pypi-supply-chain-attack/>
- article: <https://www.wiz.io/blog/teampcp-attack-kics-github-action>
- article: <https://docs.litellm.ai/blog/security-update-march-2026>
- other: <https://github.com/BerriAI/litellm/issues/24518>

## Attribution

- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/MAL-2026-2144> · JSON: <https://flawdb.com/api/v1/entries/MAL-2026-2144>
