# CVE-2026-42208: LiteLLM: SQL injection in Proxy API key verification

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: yes. In CISA's catalogue since 2026-05-08. Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- Likelihood of exploitation in the next 30 days (EPSS): 89.4%, higher than 99% of CVEs (2026-12-01)
- Published: 2026-04-24T16:17:07.000Z
- Modified: 2026-10-26T20:10:00.160Z
- Also known as: GHSA-r75f-5x8p-qvmc, PYSEC-2026-391
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation active, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- BerriAI litellm: >= 1.81.16, < 1.83.7
- lightspeed-core/lightspeed-stack-rhel9: no versions given
- ansible-automation-platform-26/lightspeed-chatbot-rhel9: no versions given
- rhoai/odh-llama-stack-core-rhel9: no versions given
- rhoai/odh-mlflow-rhel9: no versions given
- litellm (PyPI): from 1.81.16 before 1.83.7
- litellm litellm: from 1.81.16 before 1.83.7

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- redhat-SADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/BerriAI/litellm/security/advisories/GHSA-r75f-5x8p-qvmc> (kev, mitigation, patch, vendor-advisory, web)
- <https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable> (product, release-notes, web)
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-42208> (government-resource, us-government-resource, web)
- <https://access.redhat.com/security/cve/CVE-2026-42208> (third-party-advisory, vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2463965> (issue-tracking, mitigation, third-party-advisory, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42208.json> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42208> (advisory, kev)
- <https://github.com/BerriAI/litellm> (package)
- <https://github.com/advisories/GHSA-r75f-5x8p-qvmc> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/litellm/PYSEC-2026-391.yaml> (web)
- <https://pypi.org/project/litellm> (package, web)

## Sources

- CVE List: [CVE-2026-42208](https://www.cve.org/CVERecord?id=CVE-2026-42208), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-r75f-5x8p-qvmc](https://github.com/advisories/GHSA-r75f-5x8p-qvmc), CC-BY-4.0, modified 2026-10-05
- NVD: [CVE-2026-42208](https://nvd.nist.gov/vuln/detail/CVE-2026-42208), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-391](https://osv.dev/vulnerability/PYSEC-2026-391), CC-BY-4.0, modified 2026-07-01
- CISA KEV: [CVE-2026-42208](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2026-42208), CC0-1.0, modified 2026-05-08

---

Page: https://cve.day/CVE-2026-42208 · Whole record: https://cve.day/CVE-2026-42208.json · Rebuilt by cve.day 2026-11-25T22:59:20.947Z
