CVE-2026-42208litellm >=1.81.16, SQL Injection
NVD
Vulnerability Summary
### 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
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
CVSS v4.0 Base Metrics — Score 9.3
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Affected & Patched Versions
- litellm >=1.81.16, <1.83.7
- litellm >=1.83.7
What to do
Patch now. CISA lists this flaw as exploited in the wild and set a federal remediation deadline of May 11, 2026.
- Check whether you run litellm >=1.81.16, and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
CISA 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.
CISA KEV Status
Listed in Known Exploited Vulnerabilities
Added: May 8, 2026
Remediation due: May 11, 2026 (deadline passed)
Remediation due: May 11, 2026 (deadline passed)
Timeline
- Apr 24, 2026Published
- May 8, 2026Added to CISA KEV catalog
- May 11, 2026KEV remediation due date
- Oct 5, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new litellm >=1.81.16, CVEsYou are reading CVE-2026-42208. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsRelated Coverage
External References
- Vendor Advisoryhttps://github.com/BerriAI/litellm/security/advisories/GHSA-r75f-5x8p-qvmc
- Referencehttps://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable
- CVE Recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-42208
- Advisoryhttps://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-42208
- Vendor Advisoryhttps://access.redhat.com/security/cve/CVE-2026-42208
- Issue Trackinghttps://bugzilla.redhat.com/show_bug.cgi?id=2463965
- Referencehttps://github.com/BerriAI/litellm
- Referencehttps://github.com/advisories/GHSA-r75f-5x8p-qvmc
- Vendor Advisoryhttps://github.com/pypa/advisory-database/tree/main/vulns/litellm/PYSEC-2026-391.yaml
- Referencehttps://pypi.org/project/litellm
Data last checked: Oct 5, 2026 19:57 UTC