CVE-2026-42208
LiteLLM: SQL injection in Proxy API key verification
Exploited in the wild. In CISA KEV since 2026‑05‑08. Fixed in 1.83.7.
What to do
Find your product and version, then upgrade to the build on the right.
- BerriAI litellmAffected: >= 1.81.16, < 1.83.7Upgrade to: not statedStated by: CVE record
- LitellmAffected: ≥ 1.81.16, < 1.83.7Upgrade to: 1.83.7Stated by: NVD
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- 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.
- If you are using that version range and the Proxy API is exposed to the Internet, treat your setup as vulnerable.
- Upgrade LiteLLM to version 1.83.7 or later.
- 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.
Coverage timeline
3 publishersTechnical analysis published
Bishop Fox researchers identified a pre-authentication SQL injection vulnerability in LiteLLM Proxy versions 1.81.16-1.83.6, which was exploited in the wild within 36 hours of disclosure.
Added to CISA KEV catalog
Sourced from public security reporting — each date is when it was published, not when it happened. 2 further articles named this CVE in wider roundups without reporting it as a distinct event.
What it is
From the CVE record
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
Written by AI from the recordIf 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.
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 you're affected
- Proxy database data theft
- Proxy account and credential compromise
- Service disruption via database tampering
- Unauthorized access to your AI gateway
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Listed as exploited in the wild since 2026-05-08.
US federal agencies must remediate by 2026-05-11.
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
5.8% chance of exploitation activity in the next 30 days, which ranks it in the 93rd percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
20 events over 145 days, from the signal feeds we watch.
- EPSS band changehigh → low
- EPSS band changehigh → lowepss band change
- Analysis publishedEvery AI Product on CISA's KEV List: All Fourteen of Them
- Workaround availablerecord updated
- EPSS band changecritical → highworkaround available, record updated
- EPSS band changecritical → high
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored 9.8 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- Initial AccessT1190Exploit Public-Facing Applicationhigh confidence
Sources
References in the record
- github.com/BerriAI/litellm/security/advisories/GHSA-r75f-5x8p-qvmc
- github.com/BerriAI/litellm/releases/tag/v1.83.7-stable
- access.redhat.com/security/cve/CVE-2026-42208
And 3 more references. See all after sign-in
Analysis on the cve.tools blog
In the news
- Weekly Metasploit Update: Modules for Audiobookshelf, LiteLLM, Next.js, Dalfox and more
- LiteLLM Vulnerability Chain Lets Low-Privilege Users Take Over AI Gateway Servers
- LiteLLM Flaw CVE-2026-42271 Exploited in the Wild, Chains to Unauthenticated RCE
- CVE-2026-42208: Pre-Authentication SQL Injection in LiteLLM Proxy
- 4th May – Threat Intelligence Report
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next exploited one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Litellm, not every advisory. This one: actively exploited.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI