Vulnerability · high · CVSS 8.8
LiteLLM flaw CVE-2026-40217 exploited, added to CISA KEV
Tier A · Patch today – Before you go home
Who’s exposed: Teams running LiteLLM as a gateway to AI model providers
Tier A because: Core infrastructure or popular tool AND exploited in the wild
Reach
Attack
Damage
Fix
Popular tool · Exploited in the wild · Full takeover
What to do
- Check whether LiteLLM is deployed in your stack and which versions are running
The Brief
- CISA added LiteLLM CVE-2026-40217 to its Known Exploited Vulnerabilities catalog on Nov 18.
- LiteLLM is an open-source gateway that many teams place in front of OpenAI, Claude, Gemini and local models.
- The flaw is in a component meant to provide an AI safety feature, and the source says it exposes AI API keys to attackers.
Why it matters
If your team routes model traffic through LiteLLM, attackers may be able to exploit this flaw to reach the AI provider keys stored or handled by the gateway.
The checklist behind the tier
Checklist · 4 of 10 yes
| Yes | Hits tech teams | Judgment: LiteLLM is a gateway developers and ops teams run in front of AI APIs. |
| No | Core infrastructure | Judgment: a single open-source gateway product, not core infrastructure like OpenSSH or GitHub. |
| Yes | Popular tool | Judgment: DEV Community says LiteLLM is a popular open-source gateway many teams use. |
| Yes | Exploited in the wild | CISA SSVCCISA rates exploitation of CVE-2026-40217 as active |
| No | Public exploit | DEV Community does not say any exploit code or proof-of-concept is published. |
| No | Remote, no login | CVSSCVSS: CVE-2026-40217 AV:N/PR:L/UI:N |
| Yes | Full takeover | CVSSCVE-2026-40217: CVSS rates confidentiality and integrity impact high |
| No | Secrets exposed | DEV Community says AI keys are at risk, not that attackers stole or exposed them. |
| No | Supply chain | DEV Community describes a flaw in LiteLLM, not compromised packages or official updates. |
| No | No fix yet | DEV Community does not say whether a patched version is available. |
The official record
From CVE.org, CISA’s Known Exploited Vulnerabilities catalog, FIRST EPSS and the GitHub Advisory Database. Where these answer a checklist fact, they win over the reporting.
CVE-2026-40217 ↗CVSS 8.8 high AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
- Exploited
- CISA rates exploitation active
- EPSS
- 83% chance of exploitation in the next 30 days · higher than 100% of all CVEs
- Weakness
- CWE-420, CWE-94
Timeline
Source
Exploited LiteLLM flaw puts AI keys at risk ↗ DEV Community: ai · 7h ago
First seen · 1 source · Full story page · How tiers are decided