Skip to content

berriai/litellm

LiteLLM: SQL injection in Proxy API key verification

CVE-2026-42208Published 8 May 2026, 03:38 UTC

Real-world risk

10.0/ 10Critical

Act now: it is being exploited.

PreliminaryFrom the CVSS vector only · confidence low

CVSS

9.3

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
berriai/litellmCommon>= 1.81.16, < 1.83.71.83.7

What to do

Update to a fixed version: 1.83.7.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T5: Exploited in the wild (× 1.00)

On CISA KEV or VulnCheck KEV, flagged exploited by ENISA's EUVD, CISA's SSVC says active, or the vendor's or CNA's own page says it is exploited

  • On CISA’s Known Exploited Vulnerabilities list
  • Metasploit module (link)
  • Nuclei scanner template (link)
  • CISA SSVC: exploitation active

EPSS 89.4% chance of exploitation in 30 days (percentile 100), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T5: Exploited in the wild1.000
  3. 10 × impact 1 × prerequisites 1 × threat 110.000
  4. Rounded to one decimal between 0.1 and 1010.0

How the score works

Exploitation and evidence timeline

  1. 8 May 2026 Added to CISA KEV
  2. 8 May 2026 Published
  3. 3 Dec 2026 Metasploit module first seen
  4. 3 Dec 2026 Nuclei scanner template first seen
  5. 3 Dec 2026 CISA SSVC: exploitation active first seen
  6. 3 Dec 2026 Risk 10.0 (cvss fallback)

Weakness

CWE-89

References

Get alerts for berriai/litellm

Free email or text alerts when a vulnerability in berriai/litellm reaches risk 8 or higher. Nothing else.