CriticalVulnerabilityLLM-specific
GHSA-gppg-gqw8-wh9g: litellm vulnerable to remote code execution based on using eval unsafely
- Identifiers
- CVE-2024-5751GHSA-gppg-gqw8-wh9g
- Published
- Record updated
- Affected
- litellm < 1.40.16
- Fixed in
- 1.40.16
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.9%
Summary
BerriAI/litellm version v1.35.8 contains a flaw that allows remote code execution. The `add_deployment` function decodes and decrypts base64 environment variables and assigns them to `os.environ`, and an attacker can send a malicious payload to the `/config/update` endpoint, which the server processes and executes when `get_secret` is triggered. Exploitation requires the server to use Google KMS and a database to store a model.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- litellmPyPILLM dependency since 2023-07-27 · 55 tracked dependents
Related items
- HighCVE-2026-136185: Prismor local HTTP API cross-origin requests overwrite security policiesSimilar attack · NVD/CVE Database
- MediumRecent Trends and Tactics of Agentic AI AttacksSimilar attack · Palo Alto Unit 42
- MediumCVE-2026-135564: Machine Learning: Frontend component mitigation bypass in FirefoxSimilar attack · NVD/CVE Database
- MediumFamiliar weaknesses, exploited faster: defending against agentic cyber attacksSimilar attack · UK NCSC
- MediumHackers Exploit N-able MailAssure Flaw While AI Agents Exploit MONAI Label Zero-DaySimilar attack · The Hacker News