CVE-2026-42208: LiteLLM - SQL Injection
- Cve: CVE-2026-42208
- Name: LiteLLM - SQL Injection
- 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.
- Impact: Unauthenticated attackers can read and modify proxy database, leading to unauthorized access and credential compromise.
- Remediation: Upgrade to version 1.83.7 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.8942
- Epss percentile: 0.9979
- Assignee: [email protected]
- Published at: 2026-05-08T04:16:19Z
- Age in days: 199
- Modified at: 2026-10-26T20:10:00Z
- Patch available: yes
- Public exploits total: 10
- References total: 11
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-42208
- Nvd status: analyzed
- Checked, none or zero: public exploits capped, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| cisa | 2026-05-08 | 2026-05-11 | no |
| vulncheck | 2026-04-27 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2026-42208 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-42208.yaml |
Hackerone
- Reports: 1
- Rank: 5193
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/yendpoint/CVE-2026-42208-LAB.git | vulncheck-xdb | 2026-06-18 |
| https://github.com/wangp0tato/poc_cve-2026-42208 | poc-in-github | 2026-05-30 |
| https://github.com/HAERIN-L/poc_cve-2026-42208.git | vulncheck-xdb | 2026-05-30 |
| https://github.com/ridhinva/litellm-sqli-scanner | poc-in-github | 2026-05-22 |
| https://github.com/rootdirective-sec/CVE-2026-42208-Lab | poc-in-github | 2026-05-10 |
References
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| litellm:litellm | >= 1.81.16, < 1.83.7 | no | nvd | /v1/products/litellm/litellm |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| berriai/litellm | package, releases, security_advisory | yes | /v1/repositories/berriai/litellm |
Index
- Repositories: 98
- Repositories high signal: 1
- Packages: 1
Exploitation
- Known exploited: yes
- Known exploited since: 2026-05-08
- Known exploited by: cisa, vulncheck
- Vulncheck known exploited since: 2026-04-27
- Public exploit: yes
- Public exploit count: 10
- Public exploit first date: 2026-04-28
- Remote: yes
- Hackerone reports: 1
- Checked, none or zero: exploitation seen, initial access, authentication required
- Not known: initial access since, exposed hosts