cve.bz

CVE-2024-5751

9.8 criticalEPSS 0.9%

Critical (9.8) in litellm litellm. EPSS 0.9% chance of exploitation in the next 30 days. Fixed in litellm 1.40.16.

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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.9% chance of exploitation in the next 30 days; higher than 59% of CVEs (scores of 2026-10-31)
CWE
CWE-94
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gppg-gqw8-wh9gPyPIlitellm<1.40.161.40.16
PYSEC-2026-389PyPIlitellm<1.40.161.40.16

References

Check your stackJSON