CVE-2026-42208
LiteLLM: SQL injection in Proxy API key verification
Also known as GHSA-r75f-5x8p-qvmc, PYSEC-2026-391
Mitigation
- Upgrade litellm to 1.83.7 or later.
Who should check
- Projects that depend on PyPI package litellm (>= 1.81.16, < 1.83.7)
- Anyone running BerriAI litellm >= 1.81.16, < 1.83.7
Vulnerability facts
- Affected
- litellm >= 1.81.16, < 1.83.7
- Fixed in
- 1.83.7
- Exploited in the wild
- Yes: in CISA KEV since 2026-05-08; federal due date 2026-05-11
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 5.77% chance of exploitation in 30 days (percentile 94, 2026-11-26)
- CWE
- CWE-89
- Modified
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 and fixed versions
Timeline
- 2026-04-24 Published
- 2026-05-08 Added to CISA KEV (exploited in the wild)
- 2026-05-11 CISA remediation due date for US federal agencies
- 2026-10-26 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-42208. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-42208.md Affected: litellm >= 1.81.16, < 1.83.7 Fixed in: 1.83.7 Steps: 1. Search this machine and project for litellm (PyPI), BerriAI litellm: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-42208
- https://access.redhat.com/security/cve/CVE-2026-42208
- https://bugzilla.redhat.com/show_bug.cgi?id=2463965
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42208.json
- https://github.com/BerriAI/litellm
- https://github.com/pypa/advisory-database/tree/main/vulns/litellm/PYSEC-2026-391.yaml
- https://pypi.org/project/litellm
FAQ
Is CVE-2026-42208 being exploited?
Yes. CISA lists CVE-2026-42208 in its Known Exploited Vulnerabilities catalog since 2026-05-08, which means attacks have been seen. No public exploit code is known. EPSS estimates a 5.77% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-42208?
Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-42208?
litellm >= 1.81.16, < 1.83.7.
Is there a fix for CVE-2026-42208?
Yes. Fixed in 1.83.7. Upgrade litellm to 1.83.7 or later.
How do I check if I'm affected by CVE-2026-42208?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.