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.
The database query used during proxy API key verification directly embedded the key value supplied by the caller in the SQL query body, instead of passing it as a separate, parameterized parameter. An attacker could send a crafted Authorization header to any LLM API route (e.g., POST /chat/completions), and the malicious payload would reach the vulnerable query through the proxy error handling path. The lack of separation between input data and SQL code (CWE-89) allowed for manipulation of query logic and bypass of authentication (Auth Bypass).
An attacker can read the contents of the proxy database — including stored API keys and other credentials for LLM models — and potentially modify data, leading to unauthorized access to the gateway and all resources managed through it.
LiteLLM must be immediately updated to version 1.83.7 or later. The patch is available in the official GitHub repository: https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable
LiteLLM (BerriAI) in versions 1.81.16 to before 1.83.7
CVSS: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:XLitellm
APPLitellm1.81.16 – 1.83.7 (excl.)
CISA KEV — detailsi
- Vendori
- BerriAI
- Producti
- LiteLLM
- Added to KEVi
- May 8, 2026
- Remediation deadline (US Federal)i
- May 11, 2026(overdue)
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
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.
Related vulnerabilities
Atak supply chain na Trivy — złośliwe tagi GitHub Actions i obraz kontenera
LiteLLM: pominięcie uwierzytelnienia przez manipulację nagłówkiem Host
LiteLLM: pominięcie uwierzytelnienia JWT przez kolizję klucza cache (Auth Bypass)
RCE w BerriAI/litellm poprzez endpoint /config/update
BerriAI LiteLLM – SSTI via Jinja umożliwia RCE przez endpoint /completions