CVE-2026-42208 LiteLLM: SQL injection in Proxy API key verification
- Published
- Updated
- Exploit status
- Exploited in the wild (confirmed)
- CISA SSVC
- Actively exploited · automatable: yes · technical impact: total
- Technology
- 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.
CISA Known Exploited Vulnerability
- Date added
- 2026-05-08
- Due date (FCEB)
- 2026-05-11
- Ransomware use
- Unknown
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.
Upgrade path
6 packages: 2 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat lightspeed core | All versions | No fix listed | No fix yet |
| redhat openshift ai | All versions | No fix listed | No fix yet |
| litellm | >= 1.81.16, < 1.83.7 | 1.83.7 | Fixed |
| pypi litellm(PyPI) | = 1.81.16; = 1.82.0; = 1.82.1; = 1.82.2 +12 more | 1.83.7 | Fixed |
| BerriAI litellm | = >= 1.81.16, < 1.83.7 | No fix listed | Versions listed |
| redhat ansible automation platform | = 2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| BerriAI litellm | = >= 1.81.16, < 1.83.7 | No fix listed |
| redhat lightspeed core | All versions | No fix listed |
| redhat ansible automation platform | = 2 | No fix listed |
| redhat openshift ai | All versions | No fix listed |
| pypi litellm(PyPI) | >= 1.81.16, < 1.83.7 | 1.83.7 |
| pypi litellm(PyPI) | = 1.81.16 | No fix listed |
| pypi litellm(PyPI) | = 1.82.0 | No fix listed |
| pypi litellm(PyPI) | = 1.82.1 | No fix listed |
| pypi litellm(PyPI) | = 1.82.2 | No fix listed |
| pypi litellm(PyPI) | = 1.82.3 | No fix listed |
| pypi litellm(PyPI) | = 1.82.4 | No fix listed |
| pypi litellm(PyPI) | = 1.82.5 | No fix listed |
| pypi litellm(PyPI) | = 1.82.6 | No fix listed |
| pypi litellm(PyPI) | = 1.83.0 | No fix listed |
| pypi litellm(PyPI) | = 1.83.1 | No fix listed |
| pypi litellm(PyPI) | = 1.83.2 | No fix listed |
| pypi litellm(PyPI) | = 1.83.3 | No fix listed |
| pypi litellm(PyPI) | = 1.83.4 | No fix listed |
| pypi litellm(PyPI) | = 1.83.5 | No fix listed |
| pypi litellm(PyPI) | = 1.83.6 | No fix listed |
| litellm | >= 1.81.16, < 1.83.7 | 1.83.7 |
References
- https://github.com/BerriAI/litellm/security/advisories/GHSA-r75f-5x8p-qvmc mitigation patch vendor-advisory
- https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable product release-notes
- www.cisa.gov government-resource us-government-resource
- Red Hat CVE page third-party-advisory vdb-entry vendor-advisory
- RHBZ#2463965 issue-tracking mitigation third-party-advisory
- security.access.redhat.com third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com vendor-advisory
- github.com
- pypi.org product
- www.cve.org
- www.cisa.gov
- ENISA EUVD EUVD-2026-28503 third-party-advisory