CVE-2026-42208
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.
Weakness
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | BerriAI LiteLLM SQL Injection Vulnerability |
|---|---|
| Vendor / product | BerriAI / LiteLLM |
| Date added | 2026-05-08 |
| Federal remediation due date | 2026-05-11 |
| Required action | Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2026-05-08 |
Timeline
- 2026-04-24GitHub advisory published (GHSA-r75f-5x8p-qvmc)14 days before publication
- 2026-05-08Published by the CNA03:38 UTC
- 2026-05-08Added to the CISA KEV catalogsame day
- 2026-05-08CISA SSVC decision recordedsame day
Exploit and advisory records
Nuclei templates:
- CVE-2026-42208: LiteLLM - SQL Injection
GitHub advisory GHSA-r75f-5x8p-qvmc, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI litellm | from 1.81.16 before 1.83.7 | 1.83.7 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| litellm litellm | from 1.81.16 before 1.83.7fixed in 1.83.7 | 1.83.7 |
References
- https://github.com/BerriAI/litellm/security/advisories/GHSA-r75f-5x8p-qvmc
- https://access.redhat.com/security/cve/CVE-2026-42208
- https://bugzilla.redhat.com/show_bug.cgi?id=2463965
- https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42208.json
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-42208
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-42208'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-42208'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-42208'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-42208'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2026-42208'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).