CVE-2026-42208

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*

History

08 May 2026, 19:19

Type Values Removed Values Added
First Time Litellm litellm
Litellm
References () https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable - () https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable - Product, Release Notes
References () https://github.com/BerriAI/litellm/security/advisories/GHSA-r75f-5x8p-qvmc - () https://github.com/BerriAI/litellm/security/advisories/GHSA-r75f-5x8p-qvmc - Mitigation, Patch, Vendor Advisory
References () https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-42208 - () https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-42208 - US Government Resource
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
CPE cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*

08 May 2026, 18:16

Type Values Removed Values Added
References
  • () https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-42208 -

08 May 2026, 04:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-08 04:16

Updated : 2026-05-08 19:19


NVD link : CVE-2026-42208

Mitre link : CVE-2026-42208

CVE.ORG link : CVE-2026-42208


JSON object : View

Products Affected

litellm

  • litellm
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')