CVE-2026-42208
LiteLLM: SQL injection in Proxy API key verification
- Critical 9.8
- Exploited: added to CISA KEV 8 May 2026
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.
Key facts
- Published
- 8 May 2026
- Last changed
- 15 Jul 2026
- Assigned by
- GitHub_M
- KEV added
- 8 May 2026
- KEV fix due
- 11 May 2026
- EPSS
- 89.42% likely to be exploited in the next 30 days, higher than 99.79% of CVEs (scores for 15 Nov 2026)
- SSVC (CISA)
- Exploitation: active; Automatable: yes; Technical impact: total
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 9.3CVSS 4.0, Criticalfrom the CNA (GitHub_M)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - 9.8CVSS 3.1, Criticalfrom redhat-SADP (ADP container)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What to do
- Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.CISA KEV required action
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| BerriAI | litellm |
|
Timeline
- 8 May 2026 CVE-2026-42208 added to CISA KEV
- 8 May 2026 Added to the CISA KEV catalogue
- 8 May 2026 Published
Weakness
Practice this bug class
HackZoneLabs has a hands-on lab on SQL injection (CWE-89).