HighVulnerability
GHSA-7ggm-4rjg-594w: litellm passes untrusted data to `eval` function without sanitization
- Identifiers
- CVE-2024-4264GHSA-7ggm-4rjg-594w
- Published
- Record updated
- Affected
- litellm <= 1.28.11
- Fixed in
- No fixed version was stated when the source was last read.
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.9%
Summary
A remote code execution flaw in berriai/litellm stems from unsafe use of the `eval` function in the `litellm.get_secret()` method. When the server uses Google KMS, untrusted data reaches `eval` without sanitization. Attackers can inject malicious values into environment variables through the `/config/update` endpoint, which updates settings in `proxy_server_config.yaml`.
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