{"vuln_id":"GHSA-gppg-gqw8-wh9g","aliases":["CVE-2024-5751"],"description":"litellm vulnerable to remote code execution based on using eval unsafely","published_at":"2024-06-27T21:32:08Z","modified_at":"2026-11-16T15:17:18Z","first_seen_at":"2026-11-21T19:15:20.316036Z","severity":"critical","severity_source":"ghsa","cvss_score":9.8,"cvss_vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-94"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-gppg-gqw8-wh9g"},"matched_alias":null,"items":[{"id":2584,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-gppg-gqw8-wh9g / CVE-2024-5751: litellm vulnerable to remote code execution based on using eval unsafely","summary":"litellm vulnerable to remote code execution based on using eval unsafely\n\nBerriAI/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.\n\nAffected packages: pip:litellm\nPatched: litellm 1.40.16","url":"https://github.com/advisories/GHSA-gppg-gqw8-wh9g","published_at":"2024-06-27T21:32:08Z","updated_at":"2026-11-16T15:17:18Z","fetched_at":"2026-11-21T19:15:18.416952Z","severity":"critical","cvss_score":9.8,"epss":0.00882,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"litellm","vuln_id":"CVE-2024-5751","vuln_ids":["CVE-2024-5751","GHSA-GPPG-GQW8-WH9G"],"tags":["ghsa","pip","CWE-94"],"cluster_id":2616,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2584","html":"https://vulnwatch.ve1ve2.com/item/2584"}}]}