Litellm · Litellm · CVE-2026-42208
**Name of the Vulnerable Software and Affected Versions**
LiteLLM versions 1.81.16 through 1.83.6
**Description**
An unauthenticated SQL injection exists in the proxy API key verification process. The issue occurs because a database query mixed caller-supplied key values directly into the query text instead of using parameterized queries. An attacker can exploit this by sending a specially crafted `Authorization` header to any LLM API route, such as 'POST /chat/completions', reaching the vulnerable query through the proxy's error-handling path. This allows an attacker to read or modify data within the proxy's database, specifically targeting tables like `litellm credentials`, `litellm config`, and `LiteLLM VerificationToken`, which can lead to the theft of provider credentials and API keys for services like OpenAI, Anthropic, and AWS Bedrock. Real-world incidents occurred within 36 hours of disclosure, with attackers using `UNION SELECT` payloads to extract sensitive information.
**Recommendations**
Update LiteLLM to version 1.83.7 or higher.
As a temporary workaround, set `disable error logs: true` under `general settings` to remove the path that allows unauthenticated input to reach the vulnerable query.
Immediately revoke and regenerate all AI API keys and audit IAM roles for unauthorized activity if the instance was publicly exposed.