Live threats

All CVEs / Litellm

CVE-2024-5751Litellm

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.7%
probability of exploitation in 30 days · percentile 77
Auth required
No
Published
Jun 27, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

BerriAI/litellm version v1.35.8 contains a vulnerability where an attacker can achieve remote code execution. The vulnerability exists in the `add_deployment` function, which decodes and decrypts environment variables from base64 and assigns them to `os.environ`. An attacker can exploit this by sending a malicious payload to the `/config/update` endpoint, which is then processed and executed by the server when the `get_secret` function is triggered. This requires the server to use Google KMS and a database to store a model.

Original NVD text.

What to do

  1. Apply the vendor's security update for Litellm.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI litellm < 1.40.16 1.40.16 pip install "litellm>=1.40.16"
PyPI litellm < 1.40.16 1.40.16 pip install "litellm>=1.40.16"

Per OSV / GitHub Advisories (GHSA-gppg-gqw8-wh9g, PYSEC-2026-389). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
litellmlitellm1.35.8

Official sources

References

Links published by the sources. Open them with care.