pypi package report

Is litellm safe?

Versions 1.82.8, 1.82.7 and 1.107.0 of litellm were compromised; other versions are not flagged as malicious. CyberXYZ Proxy blocks the affected versions. It also has 44 known vulnerabilities, the worst rated CRITICAL.

Do not install litellm 1.82.8, 1.82.7 or 1.107.0

CRITICAL

Compromised releases. Added to CyberXYZ 2026-03-24, OSV malicious-package feed (Google / OpenSSF).

// what we observed

LiteLLM was compromised through trivy security scan in a GitHub workflow. Attackers uploaded malicious versions of LiteLLM to PyPI. The malicious code would exfiltrate sensitive secrets to an attcker controlled domain. The OpenSSF Package Analysis project identified 'litellm' @ 1.82.8 (pypi) as malicious. It is considered malicious because: • The package executes one or more commands associated with malicious behavior.

Reported by Google Open Source Security and ossf-package-analysis via OSV.

// versions and what to do
Malicious
1.82.8, 1.82.7, 1.107.0
Move to
1.109.1 newest 1.x release, no known advisory

If one of these versions was installed, remove it and treat the credentials, tokens and SSH keys on that machine as exposed: rotate them. Check CI runners and container images that installed it too.

pip install "litellm==1.109.1"

OSV recordissueissuereferencereferencereference

// reach

94 direct dependencies

40 carry known advisories, worst CRITICAL

142 packages depend on it

an advisory here reaches each of them

  • ag2
  • agenta
Create a free accountfor every dependency path, dependent and what to upgrade
// ai model usage

No published models are known to use this package.


cvss
9.8
critical

CVSS v3.1 base score out of 10

epss
0.80%
medium

chance of exploitation in 30 days, 57th percentile of all CVEs

xyz score
5.4
medium

CyberXYZ composite out of 10

fig. 01 — GHSA-6wvf-77m9-58rm, the advisory selected below

// 44 advisories

BerriAI litellm <=1.82.4 is vulnerable to Server-Side Template Injection (SSTI), which allows unauthenticated remote attackers to execute arbitrary OS commands…

Full advisory text at GitHub advisory or NVD.

// cvss v3.1 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
// questions
Is litellm safe to install?

Versions 1.82.8, 1.82.7 and 1.107.0 of litellm were compromised. Other versions are not flagged as malicious.

Does litellm have known vulnerabilities?

Yes. CyberXYZ records 44 known vulnerabilities for litellm (pypi), the worst rated CRITICAL. These include GHSA-6wvf-77m9-58rm, GHSA-4xpc-pv4p-pm3w, GHSA-r75f-5x8p-qvmc, GHSA-jjhc-v7c2-5hh6, GHSA-5mg7-485q-xm76.

Which version of litellm should I use?

Use 1.109.1 or a later release that is not named as malicious. Versions named on this report as malicious must not be installed.

How do I check litellm before installing?

Search litellm in CyberXYZ Check at https://cyberxyz.io/check?q=litellm. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.


Checked 2026-11-15 at 12:46 UTC. The most recent advisory here was published 2026-10-27. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.