CVE-2026-42208
LiteLLM: SQL injection in Proxy API key verification
Exploited in the wild. In CISA KEV since 2026‑05‑08. Only a workaround so far.
What to do
No fixed build is published yet. The vendor describes a workaround.
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.
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.
- Attention now
Rising.
Lifecycle
19 events over 139 days, from the signal feeds we watch.
- 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
- 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
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