Security Digest · Critical advisory (no CVE assigned)

GHSA-5mg7-485q-xm76: Two LiteLLM versions published containing credential harvesting malware

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.

GitHub-reviewed · critical

Should you act?

  • Malicious code, not a bug. If any listed version was ever installed, assume the machine and every secret on it are compromised: remove it, rotate credentials, rebuild.
  • Only if you depend on one of the packages below, directly or transitively, in a vulnerable version. Check your lockfile with pip-audit (or: pip show <package>).
  • No CVE has been assigned, so it will not appear in CVE-based scanners that ignore GitHub advisories. npm audit, pip-audit and Dependabot do read GitHub advisories.

Affected packages

EcosystemPackageVulnerableFirst fixed
PyPIlitellm>= 1.82.7, <= 1.82.8none listed

Details

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.

Anyone who has installed and run the project should assume any credentials available to litellm environment may have been exposed, and revoke/rotate thema ccordingly.

Sources and references

  1. GitHub Advisory GHSA-5mg7-485q-xm76 github.com
  2. github.com github.com
  3. futuresearch.ai futuresearch.ai
  4. github.com github.com
  5. inspector.pypi.io inspector.pypi.io
  6. inspector.pypi.io inspector.pypi.io
  7. wiz.io wiz.io
  8. docs.litellm.ai docs.litellm.ai

Critical PyPI advisories · Today’s Security Digest