Vulnerability Intelligence Report
Remote Code Execution in BerriAI/litellm
CVE-2024-5751
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.
No Active Exploit Signals
CVSS Base Score
9.8
CRITICAL
Exploitability:3.9
Impact Score:5.9
EPSS Probability:0.88%
Executive Threat Verdict
Evaluating...
Evaluating Threat Landscape...
Assessing known weaponization, exploitation telemetry, and federal advisories.
Attack Surface
—
Authentication
—
Weaponization
—
SSVC Action
—
Weaknesses (CWE)
CWE-94 ↗CWE-94 Improper Control of Generation of Code
Affected Products & Versions
| Vendor | Product | Affected Versions |
|---|---|---|
| berriai | berriai/litellm | unspecified <= latest (affected) |
References & Technical Advisories
No reference links found.
Threat Intelligence Signals
EPSS Score
0.875%
GitHub Advisory
Identity & Timeline
| Status | PUBLISHED |
| Assigning Authority | Protect AI (formerly huntr.dev) · Bug Bounty Provider · USA |
| Reserved | 2024-06-07T16:33:15 |
| Published | 2024-06-27T18:40:49 |
| Last Updated | 2025-10-15T12:50:28 |
Community Chatter & Buzz