CVE Tools

CVE-2026-42208

LiteLLM: SQL injection in Proxy API key verification

Published: May 8, 2026Updated: Jul 15, 2026 Sources: CVE List NVDCWE-89

Description

LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. From version 1.81.16 to before version 1.83.7, a database query used during proxy API key checks mixed the caller-supplied key value into the query text instead of passing it as a separate parameter. An unauthenticated attacker could send a specially crafted Authorization header to any LLM API route (for example POST /chat/completions) and reach this query through the proxy's error-handling path. An attacker could read data from the proxy's database and may be able to modify it, leading to unauthorised access to the proxy and the credentials it manages. This issue has been patched in version 1.83.7.

In plain language

AI Act now

If you use LiteLLM versions 1.81.16 through 1.83.6, an Internet attacker can send a fake API key and (via a SQL injection bug) potentially take control of LiteLLM’s proxy database—this is a serious, urgent risk, even without any login.

Executive summary

In LiteLLM, a SQL injection (CWE-89) in the Proxy API key verification path allows an unauthenticated attacker to execute arbitrary SQL queries by crafting a malicious Authorization header, leading to potential database read/modify of the proxy and managed credentials; the issue is added to CISA KEV (due 2026-05-11).

If affected, business impact
Proxy database data theftProxy account and credential compromiseService disruption via database tamperingUnauthorized access to your AI gateway

What to do now

  1. Check which LiteLLM version you are running (for example, by reviewing your LiteLLM deployment image/package version or startup logs) and confirm whether it is in the range 1.81.16 to 1.83.6.
  2. If you are using that version range and the Proxy API is exposed to the Internet, treat your setup as vulnerable.
  3. Upgrade LiteLLM to version 1.83.7 or later.
  4. After upgrading, verify the Proxy API is only reachable from trusted networks (or protected behind appropriate network controls) and re-check that the deployed version is the fixed one.
Usually a quick update

CVSS Vector Breakdown

AV:NAC:LPR:NUI:NS:UC:HI:HA:H
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:NUser Interaction
None
Scope
S:UScope
Unchanged
Impact
C:HConfidentiality
High
I:HIntegrity
High
A:HAvailability
High

Weaknesses

Affected Products

Exploitability

CISA Known Exploited Vulnerability
Added to KEV:May 8, 2026
Remediation due:May 11, 2026

Required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Workaround Available

Attack Graph

Products CVE Techniques Tactics

Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/ + scroll to zoom, or go fullscreen.

MITRE ATT&CK

1 technique
Initial Access
View detailed technique mapping

References

and 3 more references View all →
5

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2026-42208 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows