CVE-2026-42208: BerriAI LiteLLM SQL Injection Vulnerability
Reference page built from the source records below, each shown as its source publishes it. Dataset version ref-0e36b8216deb, updated 2026-11-02T23:39:54.475Z.
CISA Known Exploited Vulnerabilities
- Name
- BerriAI LiteLLM SQL Injection Vulnerability
- Vendor
- BerriAI
- Product
- LiteLLM
- Added to the catalog
- 2026-05-08
- Due date for US federal agencies
- 2026-05-11
- Weaknesses
- CWE-89
- Catalog version
- 2026.10.30
BerriAI LiteLLM contains a SQL injection vulnerability that allows an attacker to read data from the proxy's database and potentially modify it, leading to unauthorized access to the proxy and the credentials it manages.
Required action (CISA)
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Ransomware use: CISA does not mark known use of this vulnerability in ransomware campaigns.
Links in CISA's notes
- https://github.com/BerriAI/litellm/security/advisories/GHSA-r75f-5x8p-qvmc
- https://nvd.nist.gov/vuln/detail/CVE-2026-42208
Read on 2026-11-02T23:39:54.475Z under licence cisa-kev-cc0@b0067899 from https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json
NVD analysis
- Status
- Analyzed
- Published
- 2026-05-08T04:16:19.923
- Last modified
- 2026-10-26T20:10:00.160
- Weaknesses
- CWE-89
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.
| Metric | Score | Severity | Vector | Scored by |
|---|---|---|---|---|
| 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | [email protected] (Secondary) |
| 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 | [email protected] (Primary) |
| 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 | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) |
References
- https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable (Product, Release Notes)
- https://github.com/BerriAI/litellm/security/advisories/GHSA-r75f-5x8p-qvmc (Mitigation, Patch, Vendor Advisory)
- https://access.redhat.com/security/cve/CVE-2026-42208 (Third Party Advisory)
- https://bugzilla.redhat.com/show_bug.cgi?id=2463965 (Mitigation, Third Party Advisory)
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42208.json (Third Party Advisory)
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-42208 (US Government Resource)
This product uses the NVD API but is not endorsed or certified by the NVD.
Read on 2026-11-02T23:42:31.494Z under licence nvd-api-terms-of-use@ff2a5288 from https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-42208
CVE record
- Title (CNA)
- LiteLLM: SQL injection in Proxy API key verification
- Assigner
- GitHub_M
- State
- PUBLISHED
- Published
- 2026-05-08T03:38:14.124Z
- Updated
- 2026-07-15T00:58:03.861Z
- Problem types
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
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.
References
- https://github.com/BerriAI/litellm/security/advisories/GHSA-r75f-5x8p-qvmc
- https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable
Read on 2026-11-03T02:20:06.141Z under licence cve-terms-of-use@81bfa2f3 from https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/42xxx/CVE-2026-42208.json
GitHub Advisory Database
GHSA-r75f-5x8p-qvmc: LiteLLM has SQL Injection in Proxy API key verification
- Severity (GitHub)
- critical
- CVSS
- 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-89
- Published
- 2026-04-24T16:17:07Z
- Updated
- 2026-10-05T18:39:55Z
- pip litellm: affected >= 1.81.16, < 1.83.7, first patched 1.83.7
### Impact
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.
### Patches
Fixed in **`1.83.7`**. The caller-supplied value is now always passed to the database as a separate parameter. Upgrade to `1.83.7` or later.
### Workarounds
If upgrading is not immediately possible, set `disable_error_logs: true` under `general_settings`. This removes the path through which unauthenticated input reaches the vulnerable query.
### References
- Patched release: [`v1.83.7-stable`](https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable)
**Discovery Credit**: Tencent YunDing Security Lab
Read on 2026-11-03T02:47:28.407Z under licence ghsa-cc-by-4.0@9e5f1b3c from https://api.github.com/advisories/GHSA-r75f-5x8p-qvmc
Also known as / affected packages
GHSA-r75f-5x8p-qvmc
Also known as: CVE-2026-42208. OSV.dev record, GitHub advisory.
- PyPI litellm: introduced 1.81.16, fixed 1.83.7
Read on 2026-11-03T02:54:00.384Z under licence ghsa-cc-by-4.0@9e5f1b3c from https://api.osv.dev/v1/vulns/GHSA-r75f-5x8p-qvmc
Defensive techniques (MITRE D3FEND)
D3FEND maps these defensive techniques to the weakness (CWE) that NVD lists for this CVE, through the digital artifacts the weakness affects. D3FEND does not say they stop this vulnerability.
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- Restore: Restore Software (acts on Software)
- Isolate: Application-based Process Isolation (acts on Subroutine)
- Harden: Software Update (acts on Software)
- Harden: Domain Logic Validation (acts on Subroutine)
- Model: Software Inventory (acts on Software)
- Harden: Variable Initialization (acts on Subroutine)
- Model: Asset Vulnerability Enumeration (acts on Software)
- Harden: Trusted Library (acts on Subroutine)
- Harden: Credential Scrubbing (acts on Subroutine)
D3FEND ontology version 1.6.0.
Read on 2026-11-02T23:54:25.031Z under licence d3fend-terms-of-use@f98cbc7e from https://d3fend.mitre.org/api/weakness/cwe/CWE-89.json
MITRE D3FEND™ knowledge graph. © 2025 The MITRE Corporation.
"The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use D3FEND for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy." Terms: https://d3fend.mitre.org/tou/
Sources and licences
CISA
Source: CISA Catalog of Known Exploited Vulnerabilities, version 2026.10.30, CC0 1.0. Use of this data does not imply endorsement by CISA or DHS.
National Vulnerability Database (NIST)
This product uses the NVD API but is not endorsed or certified by the NVD.
NVD API Terms of Use (NIST publications in the public domain, 17 U.S.C. 105)
CVE Program, The MITRE Corporation
Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation. CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.
GitHub Advisory Database
Source: GitHub Advisory Database, https://github.com/advisories/GHSA-r75f-5x8p-qvmc, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Changes: fields selected and reformatted by ransomware-tracker.com.
GitHub Advisory Database via OSV.dev
GHSA-r75f-5x8p-qvmc: GitHub Advisory Database, https://github.com/advisories/GHSA-r75f-5x8p-qvmc. Licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/), provided as is, without warranties. Retrieved via OSV.dev (https://osv.dev/vulnerability/GHSA-r75f-5x8p-qvmc), which enriches records; fields selected and reformatted by ransomware-tracker.com.
MITRE D3FEND
MITRE D3FEND™ knowledge graph. © 2025 The MITRE Corporation.
"The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use D3FEND for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy." Terms: https://d3fend.mitre.org/tou/MITRE D3FEND Terms of Use (site + knowledge graph); source repo MIT
Cite this page
Dragons Eye Ransomware Tracker, "CVE-2026-42208: BerriAI LiteLLM SQL Injection Vulnerability",
entity page, dataset version ref-0e36b8216deb, updated 2026-11-02T23:39:54.475Z,
https://ransomware-tracker.com/cve/CVE-2026-42208 (accessed 2026-11-03).
Underlying source: CISA Catalog of Known Exploited Vulnerabilities, version 2026.10.30.
Underlying source: National Vulnerability Database (NIST), CVE API 2.0, record last modified 2026-10-26T20:10:00.160.
Underlying source: CVE List (CVE Program, The MITRE Corporation), record updated 2026-07-15T00:58:03.861Z.
Underlying source: GitHub Advisory Database, GHSA-r75f-5x8p-qvmc, updated 2026-10-05T18:39:55Z.
Underlying source: GitHub Advisory Database, GHSA-r75f-5x8p-qvmc, via OSV.dev, modified 2026-10-05T18:45:06.017895472Z.
Underlying source: MITRE D3FEND, ontology version 1.6.0.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.