CVE-2026-42208
LiteLLM: LiteLLM: Unauthorized data access and modification via SQL injection
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Red Hat.
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | litellm | 1.83.7 |
| chainguard | airflow-3, litellm | 3.2.2-r7 and 1 more |
| echo pip::Echo OSV | litellm | 1.83.7 |
| minimos | airflow-3, litellm-1.83 | 3.3.1-r0 and 1 more |
| wolfi | airflow-3 | 3.2.2-r7 |
Show all 7 entries from 5 sources
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | litellm | 1.83.7 |
| chainguard | airflow-3 | 3.2.2-r7 |
| chainguard | litellm | 1.83.10.0-r0 |
| echo pip::Echo OSV | litellm | 1.83.7 |
| minimos | airflow-3 | 3.3.1-r0 |
| minimos | litellm-1.83 | 1.83.10-r0 |
| wolfi | airflow-3 | 3.2.2-r7 |
References
- https://access.redhat.com/security/cve/CVE-2026-42208
- https://advisory.echohq.com/cve/CVE-2026-42208
- https://bugzilla.redhat.com/show_bug.cgi?id=2463965
- https://github.com/BerriAI/litellm
- https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable
- https://github.com/BerriAI/litellm/security/advisories/GHSA-r75f-5x8p-qvmc
- https://github.com/advisories/GHSA-r75f-5x8p-qvmc
- https://github.com/pypa/advisory-database/tree/main/vulns/litellm/PYSEC-2026-391.yaml
All 14 references
- https://nvd.nist.gov/vuln/detail/CVE-2026-42208
- https://pypi.org/project/litellm
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42208.json
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-42208
- https://www.cve.org/CVERecord?id=CVE-2026-42208