AllCyberNews

CVE-2026-42208

LiteLLM: SQL injection in Proxy API key verification

CVSS 9.3 critical · BerriAI litellm · published 2026-05-08

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.

Coverage 2 sources

  1. 2026-04-28 BleepingComputer critical Hackers are exploiting a critical LiteLLM pre-auth SQLi flaw

    Hackers are exploiting a critical SQLi flaw in LiteLLM, a pre-auth vulnerability tracked as CVE-2026-42208.

  2. 2026-05-08 CISA Cybersecurity Advisories critical CISA Adds One Known Exploited Vulnerability to Catalog

    CISA adds CVE-2026-42208 to its Known Exploited Vulnerabilities Catalog due to active exploitation.

Also covered