Loading advisory.
Loading advisory.
LiteLLM has SQL Injection in Proxy API key verification
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.
Published 2026-04-24 16:17 UTC · Modified 2026-10-05 18:45 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| litellm | PyPI | >= 1.81.16, < 1.83.7 versions 1.81.16, 1.82.0, 1.82.1, 1.82.2, 1.82.3, 1.82.4, 1.82.5, 1.82.6, 1.83.0, 1.83.1, 1.83.2, 1.83.3, 1.83.4, 1.83.5, 1.83.6 | 1.83.7 | pip install --upgrade 'litellm>=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.
Fixed in 1.83.7. The caller-supplied value is now always passed to the database as a separate parameter. Upgrade to 1.83.7 or later.
If upgrading is not immediately possible, set disable_error_logs: true under general_settings. This removes the path through which unauthenticated input reaches the vulnerable query.
Patched release: v1.83.7-stable
Discovery Credit: Tencent YunDing Security Lab
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.894 on 2026-11-24 to 0.058 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.894 | first score | v2026.06.15 |
| 2026-11-26 | 0.058 | 0.894 | v2026.06.15 |