BerriAI LiteLLM SQL Injection Vulnerability
BerriAI — litellm
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.
9.8
89.4%
Vector breakdown
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- May 8, 2026
- Modified
- Jul 15, 2026
- Added to KEV
- May 8, 2026
- Federal patch due
- May 11, 2026
CISA 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.
Weakness classification
Affected packages
Proof-of-concept & exploitation references
6 foundWeaponization
Public repositories whose name or description references CVE-2026-42208, found via a live GitHub search at request time. These are community-sourced signals, not a verified working exploit - cross-check each one before relying on it, and treat higher star counts and recent activity as (weak) corroboration, not proof.
- ridhinva/litellm-sqli-scanner★ 1
Scanner: CVE-2026-42208 LiteLLM SQL Injection — Python scanner for BerriAI LiteLLM proxy instances
updated Aug 27, 2026
- imjdl/CVE-2026-42208_lab★ 0
CVE-2026-42208 lab
updated Apr 29, 2026
- 0xBlackash/CVE-2026-42208★ 0
CVE-2026-40487
updated May 4, 2026
- rootdirective-sec/CVE-2026-42208-Lab★ 0
updated Jun 8, 2026
- HAERIN-L/poc_cve-2026-42208★ 0
updated May 30, 2026
- Zeltoc/threat-intel-brief-cve-2026-42208-litellm★ 0
Threat intelligence brief on CVE-2026-42208, a critical pre-auth SQL injection in BerriAI LiteLLM exploited within 36 hours of disclosure. Covers attack path, detection opportunities, and recommended actions.
updated May 10, 2026
References
How this class of flaw gets exploited
Frequently asked questions
What is CVE-2026-42208?
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.
How severe is CVE-2026-42208?
CVE-2026-42208 has a CVSS base score of 9.8 out of 10 (CVSS 3.1).
Is CVE-2026-42208 actively exploited in the wild?
Yes. CVE-2026-42208 is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added May 8, 2026, meaning CISA has confirmed evidence of active exploitation.
What is the EPSS score for CVE-2026-42208?
89.4% - meaning FIRST.org's EPSS model estimates a 89.4% probability this vulnerability will be exploited in the wild within 30 days (100% percentile among all scored CVEs).
Is there exploit tooling available for CVE-2026-42208?
Yes - a public Nuclei template referencing CVE-2026-42208 exist in public repositories we checked. We also found 6 public GitHub repositories referencing this CVE.
What type of vulnerability is CVE-2026-42208?
CVE-2026-42208 is classified under CWE-89 (Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')).
Cross-checked against
Impactr finds and proves whether CVE-2026-42208 - or flaws like it - are actually reachable in your own web apps and APIs, with a reproducible exploit as evidence.
Join the waitlist