High severity8.8CISA KEVNVD Advisory· Published Apr 10, 2026· Updated Nov 19, 2026
CVE-2026-40217
CVE-2026-40217
Description
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
litellmPyPI | >= 1.81.8, < 1.83.10 | 1.83.10 |
Affected products
6- osv-coords5 versionspkg:apk/chainguard/litellm-compatpkg:apk/chainguard/airflow-3pkg:apk/wolfi/airflow-3pkg:apk/chainguard/litellmpkg:pypi/litellm
< 0+ 4 more
- (no CPE)range: < 0
- (no CPE)range: < 3.2.2-r7
- (no CPE)range: < 3.2.2-r7
- (no CPE)range: < 0
- (no CPE)range: >= 1.81.8, < 1.83.10
Patches
Vulnerability mechanics
References
12- www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/nvdExploitMitigationThird Party Advisory
- access.redhat.com/errata/RHSA-2026:24866nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2026:30056nvdThird Party Advisory
- access.redhat.com/security/cve/CVE-2026-40217nvdThird Party Advisory
- bugzilla.redhat.com/show_bug.cginvdThird Party Advisory
- github.com/advisories/GHSA-wxxx-gvqv-xp7pghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-40217ghsaADVISORY
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.jsonnvdThird Party Advisory
- github.com/BerriAI/litellm/releases/tag/v1.83.10-stableghsaWEB
- github.com/BerriAI/litellm/security/advisories/GHSA-wxxx-gvqv-xp7pghsaWEB
- www.cisa.gov/known-exploited-vulnerabilities-catalognvdUS Government Resource
- www.x41-dsec.de/lab/advisories/x41-2026-001-litellmghsaWEB
News mentions
12- CISA Warns of 4 Exploited Flaws Linked to Ransomware, Cryptomining, and LLMjacking AttacksThe Hacker News · Nov 19, 2026
- GTIG AI Threat Tracker: Agentic Threat Activity Crosses a Significant ThresholdMandiant Threat Intelligence · Nov 16, 2026
- In Other News: Trezor Implant, LLMJacking Bills Hit $1M, SAP Flaws Weaponized Within DaysSecurityWeek · Nov 6, 2026
- Hackers Launch LLMHijacking Attacks, Leaving Companies With $1 Million in Cloud BillsCyber Security News · Nov 4, 2026
- Google Warns LLMjacking Attacks Are Costing Some Enterprises Up to $1 Million in Cloud ChargesThe Hacker News · Nov 3, 2026
- Stolen AI access leaves companies with cloud bills of up to $1 millionHelp Net Security · Nov 3, 2026
- The Rise of LLMJacking: How Threat Actors Monetize Compromised Cloud and Model ResourcesMandiant Threat Intelligence · Nov 2, 2026
- Nearly 1 in 10 Exposed LiteLLM Gateways Accepted the Example "sk-1234" Admin KeyThe Hacker News · Sep 10, 2026
- ChatGPT AgentForger Flaw Could Deploy Rogue Workspace Agents via a Phishing LinkThe Hacker News · Jul 24, 2026
- ⚡ Weekly Recap: Browser Bugs, EDR Killers, TV Botnet, OpenBSD Flaw, Android Trojan, and MoreThe Hacker News · Jun 22, 2026
- LiteLLM Vulnerability Chain Lets Low-Privilege Users Take Over AI Gateway ServersThe Hacker News · Jun 15, 2026
- CISA Adds Four Known Exploited Vulnerabilities to CatalogCISA Alerts