HighVulnerabilityLLM-specific
GHSA-53gh-p8jc-7rg8: LiteLLM Vulnerable to Remote Code Execution (RCE)
- Identifiers
- CVE-2024-6825GHSA-53gh-p8jc-7rg8
- Published
- Record updated
- Affected
- litellm >= 1.40.3.dev2, <= 1.40.12
- 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
- 1.7%
Summary
BerriAI/litellm version 1.40.12 contains a remote code execution flaw in how it handles the 'post_call_rules' configuration. The configured callback value is split at its final '.', and the last part is treated as the function name while the remainder is appended with '.py' and imported, so an attacker can set a system method such as 'os.system' as a callback and run arbitrary commands when a chat response is processed.
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