CVE-2024-5751
published critical CVSS 3.0 · 9.8Remote Code Execution in BerriAI/litellm
Package status and fixes
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| berriai | berriai/litellm | unspecified through latest (affected · custom) | @huntr_ai · cna |
| berriai | litellm | 1.35.8 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code
References
1Provider assertions
3@huntr_ai · cna
Remote Code Execution in BerriAI/litellm
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0368543a7c095d180c322fbb16f0272822ce48e981ed965d6b22cc64e05927fa
- Ingested
- 23 Sep 2026, 08:32:47 UTC
- Source record
- Official CVE record