CVE-2024-4264
published critical CVSS 3.0 · 9.8Remote Code Execution in berriai/litellm
Package status and fixes
Description
A remote code execution (RCE) vulnerability exists in the berriai/litellm project due to improper control of the generation of code when using the `eval` function unsafely in the `litellm.get_secret()` method. Specifically, when the server utilizes Google KMS, untrusted data is passed to the `eval` function without any sanitization. Attackers can exploit this vulnerability by injecting malicious values into environment variables through the `/config/update` endpoint, which allows for the update of settings in `proxy_server_config.yaml`.
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 | 0 and later (affected · custom)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
- 17253549830ccd0a6ceb0f5b15c443bd15e9992e43f251986dbd7fcb1ae65d52
- Ingested
- 23 Sep 2026, 08:29:21 UTC
- Source record
- Official CVE record