CVE Wiki Pixee · CVE intelligence
← All CVEs

CVE-2026-42208

KEV Critical · CVSS 9.8

LiteLLM — SQL Injection via unsanitized Authorization header in proxy API key check

CVSS
9.8
nvd
EPSS
83.5%
100th pct
KEV
Listed
2026-05-08
Class
other
CWE-89, CWE-89

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.

Search profile — drives PoC discovery

Symbols Authorization/chat/completionsproxy API key checkerror-handling pathdatabase querykey valuequery text
Keywords CVE-2026-42208LiteLLM SQL injectionLiteLLM proxy Authorization header SQLiBerriAI litellm GHSA-r75f-5x8p-qvmcLiteLLM 1.81.16 1.83.7 SQLilitellm proxy key check injectionlitellm /chat/completions SQL injection PoC
Versions: >=1.81.16, <1.83.7

Ranked PoCs (6) — best first

Heuristic ranking — not yet expert-vetted. Scored on structure + provenance, not execution.

Recall-favoring discovery; ranking by the Stage-4 scorer (Adam's rubric). Scanner/aggregator repos are hidden.

References

Status: enriched · ingested 2026-06-27T06:00:38.000Z · profiled 2026-07-01T12:30:14.000Z