This vulnerability is being actively exploited in the wild, according to the CISA Known Exploited Vulnerabilities catalog. CISA added it on .
HighVulnerabilityLLM-specific
CVE-2026-40217: LiteLLM remote code execution at /guardrails/test_custom_code
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-40217
- Published
- Record updated
- Affected
- litellm >= 1.81.8, < 1.83.10
- Fixed in
- 1.83.10
- released April 18, 2026, 9 days after disclosure
- Known exploitation
- Listed in the CISA Known Exploited Vulnerabilities catalog since November 18, 2026.
- EPSS
- 78.0%
Summary
CVE-2026-40217 affects LiteLLM through 2026-04-08. The source says remote attackers can execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI. The weakness is classified as CWE-420 (Unprotected Alternate Channel), and NVD has not yet provided an assessment.
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
Coverage
News, research and other items that mention CVE-2026-40217.
- Google: LLMjacking attacks rack up $1 million in cloud AI chargesBleepingComputer · 2026-11-03
- Google Warns LLMjacking Attacks Are Costing Some Enterprises Up to $1 Million in Cloud ChargesThe Hacker News · 2026-11-03
- The Rise of LLMJacking: How Threat Actors Monetize Compromised Cloud and Model ResourcesGoogle Threat Intelligence · 2026-11-02
Related items
- MediumCVE-2026-134825: Gradio 6.27.0 before 6.32.0 contains an authentication bypass vulnerability in gradio/history.py that allows remote…Similar attack · NVD/CVE Database
- MediumCVE-2026-124248: GPTranslate WordPress plugin stored cross-site scripting via comment parameterSimilar attack · NVD/CVE Database
- MediumAmazon: China-Linked Hackers’ AI Agents Exploited Medical Software Zero-DaySimilar attack · SecurityWeek
- MediumAttackers' AI Agents Found a Zero-Day in Medical-Imaging Software and Gained Root AccessSimilar attack · The Hacker News
- MediumCVE-2026-54026: LibreChat message injection via conversationId in request bodySimilar attack · NVD/CVE Database