CVE-2026-42208 Details
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.
A SQL injection vulnerability has been identified in LiteLLM, a proxy server for calling LLM APIs in OpenAI format. This issue affects versions 1.81.16 prior to 1.83.7. The vulnerability arises because a database query used to verify proxy API keys improperly mixed user-supplied key values into the query text, rather than passing them as separate parameters. An unauthenticated attacker could exploit this by sending a crafted Authorization header to any LLM API route, such as POST /chat/completions, and access the vulnerable query through the proxy's error-handling path. This exploitation could allow the attacker to read and potentially modify data in the proxy's database, leading to unauthorized access to the proxy and its managed credentials.
The vulnerability has been patched in LiteLLM version 1.83.7. Users should upgrade to this version or later. If an immediate upgrade is not possible, as a temporary workaround, set 'disable_error_logs: true' under 'general_settings' to prevent unauthenticated input from reaching the vulnerable database query.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2026-42208 | redhat-SADP | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2463965 | redhat-SADP | MitigationThird Party Advisory |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42208.json | redhat-SADP | Third Party Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-42208 | CISA-ADP | US Government Resource |
| https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable | [email protected] | ProductRelease Notes |
| https://github.com/BerriAI/litellm/security/advisories/GHSA-r75f-5x8p-qvmc | [email protected] | MitigationPatchVendor Advisory |
This CVE is in CISA's Known Exploited Vulnerabilities Catalog
Reference CISA's BOD 22-01 and Known Exploited Vulnerabilities Catalog for further guidance and requirements.
| Vulnerability Name | Date Added | Due Date | Required Action |
|---|---|---|---|
| BerriAI LiteLLM SQL Injection Vulnerability | May 8, 2026 | May 11, 2026 | Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | redhat-SADP |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| litellm litellm | >= 1.81.16, < 1.83.7 |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 29, 2026 | Modified Analysis | [email protected] |
| Jun 27, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 8, 2026 | Initial Analysis | [email protected] |
| May 8, 2026 | CVE CISA KEV Update | Cybersecurity and Infrastructure Security Agency (CISA) U.S. Civilian Government |
| May 8, 2026 | CVE Modified | CISA-ADP |
| May 8, 2026 | New CVE Received | [email protected] |