Back to list

LiteLLM has SQL Injection in Proxy API key verification — CVE-2026-42208

GitHub · GitHub · CVE-2026-42208

ID
CVE-2026-42208
Date
Updated
Activity
Source
GitHub
Vendor
GitHub
Threat
critical
CVSS
9.3
EPSS
0.37368

Summary

### Impact 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…

Product

pip: litellm

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories