CVE-2026-42208: BerriAI LiteLLM SQL Injection Vulnerability
Vulnerability summary
CVE-2026-42208 is a critical (CVSS 9.8) SQL Injection vulnerability in BerriAI LiteLLM. It is known to be exploited: CISA lists it, first on 08-05-2026. EPSS estimates a 5.77% chance of exploitation in the next 30 days, higher than 93% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 08-05-2026PublishedVulnerability first disclosed.
- 08-05-2026Added to CISA KEVBerriAI LiteLLM SQL Injection Vulnerability
- 11-05-2026CISA remediation dueApply mitigations per vendor instructions.
- 15-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 5 sources · 2 versions- OSV · PypiEcosystem advisory · calculated9.3CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated9.3CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated9.3CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- NVDNIST9.3CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · PypiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
5.77%
Chance of exploitation in the next 30 days
Percentile
93%
Versus all other CVEs
30-day change
-83.65 pp
From 89.42% on 19-09-2026
Known exploited
Compare KEV catalogs- Added
- 08-05-2026
- Federal due date
- 11-05-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. github.com/BerriAI/litellm/security/advisories/GHSA-r75f-5x8p-qvmc nvd.nist.gov/vuln/detail/CVE-2026-42208
Public exploits
1 foundBerriAI LiteLLM Proxy Pre-Auth SQL Injection Scanner
auxiliary/scanner/http/litellm_proxy_sqli
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard2 products
- airflow-3< 3.2.2-r7
- litellm< 1.83.10.0-r0
Berriai1 product
- litellm≥ 1.81.16, < 1.83.7
Litellm1 product
- litellm≥ 1.81.16, < 1.83.7
PyPI1 product
- litellm≥ 1.81.16, < 1.83.7
Wolfi1 product
- airflow-3< 3.2.2-r7
5 vendors · 6 products
References
12 links- github.com/BerriAI/litellm/security/advisories/GHSA-r75f-5x8p-qvmcX Refsource CONFIRMWEBAdvisoryMitigationPatchVendor Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-42208Government ResourceWEBUS Government Resource
- access.redhat.com/security/cve/CVE-2026-42208VDB EntryX Refsource REDHATWEBAdvisoryThird Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2463965Issue TrackingX Refsource REDHATWEBREPORTMitigationThird Party Advisory
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42208.jsonX Sadp Csaf VexWEBThird Party Advisory
- github.com/BerriAI/litellmPACKAGE