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.
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · Attack vector: NetworkReferences (6)
| https://github.com/BerriAI/litellm/security/advisories/GHSA-r75f-5x8p-qvmc | MitigationPatchVendor Advisory |
| https://access.redhat.com/security/cve/CVE-2026-42208 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2463965 | MitigationThird Party Advisory |
| https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable | ProductRelease Notes |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42208.json | Third Party Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-42208 | US Government Resource |
A short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Learn about this vulnerability
CVSS vs EPSS vs CISA KEV: Understanding the DifferencesThree signals, three different questions. CVSS measures how bad a flaw could be, EPSS estimates how likely exploitation is, and KEV confirms attackers are already using it.Intermediate · 4-minute readWhat Is a CVE? A Beginner's Guide to VulnerabilitiesCVE IDs are the common names for publicly known security flaws. Learn who assigns them, what a CVE record contains, and what a CVE does and doesn't tell you.Beginner · 4-minute readHow to Check Whether Your Software Version Is Affected by a CVEA version match is a starting point, not a verdict. A step-by-step method to confirm exposure using advisories, version ranges and backport notes.Intermediate · 4-minute readTrack this software
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
+ Litellm LitellmCISA KEV entry
BerriAI LiteLLM SQL Injection Vulnerability
BerriAI LiteLLM contains a SQL injection vulnerability that allows an attacker to read data from the proxy's database and potentially modify it, leading to unauthorized access to the proxy and the credentials it manages.
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.
Notes: https://github.com/BerriAI/litellm/security/advisories/GHSA-r75f-5x8p-qvmc ; https://nvd.nist.gov/vuln/detail/CVE-2026-42208