SQL Injection in Berriai Litellm

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.

Vulnerability class: SQL Injection

EPSS: 0.894 (99.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

CISA KEV (Known Exploited Vulnerabilities)

This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.

BOD 22-01 due date: .

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.

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2026-42208?
CVE-2026-42208 is a critical-severity vulnerability in Berriai Litellm, classified under SQL Injection. CVSS score: 9.8/10. Published 2026-05-08.
How severe is CVE-2026-42208?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2026-42208 known to be exploited?
Yes. CVE-2026-42208 is listed in the CISA Known Exploited Vulnerabilities catalog (added 2026-05-08), indicating it is being actively exploited. 10 public proof-of-concept repositories are indexed.