International
The Morning Dev

Only the news worth knowing

‹
 
A66/100

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

  1. 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
YesHits tech teamsJudgment: LiteLLM is a gateway developers and ops teams run in front of AI APIs.
NoCore infrastructureJudgment: a single open-source gateway product, not core infrastructure like OpenSSH or GitHub.
YesPopular toolJudgment: DEV Community says LiteLLM is a popular open-source gateway many teams use.
YesExploited in the wildCISA SSVCCISA rates exploitation of CVE-2026-40217 as active
NoPublic exploitDEV Community does not say any exploit code or proof-of-concept is published.
NoRemote, no loginCVSSCVSS: CVE-2026-40217 AV:N/PR:L/UI:N
YesFull takeoverCVSSCVE-2026-40217: CVSS rates confidentiality and integrity impact high
NoSecrets exposedDEV Community says AI keys are at risk, not that attackers stole or exposed them.
NoSupply chainDEV Community describes a flaw in LiteLLM, not compromised packages or official updates.
NoNo fix yetDEV 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

    NVD

Timeline

  1. CISA adds CVE-2026-40217 to its Known Exploited Vulnerabilities catalog

  2. DEV Community: ai

    Exploited LiteLLM flaw puts AI keys at risk

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