8.8highExploited
LiteLLM: MCP Authentication Bypass via OAuth2 Passthrough Fallback
- Severity
- 8.8high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.84% (higher than 55% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-7488-6r32-c95qPYSEC-2026-3479
Description
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.84.0, LiteLLM's MCP Streamable HTTP endpoint allowed an unauthenticated attacker to use a fabricated Authorization header to trigger an OAuth2 passthrough fallback path that replaced failed LiteLLM key validation with an empty UserAPIKeyAuth() object, allowing requests to reach MCP tooling without a valid LiteLLM key. This issue is fixed in version 1.84.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| BerriAI litellm | < 1.84.0 | CVE List, CISA KEV |
| litellm (PyPI) | before 1.84.0 | GitHub Advisory Database, PyPA Advisory Database |
| litellm litellm | before 1.84.0 | NVD |
All scores
| GitHub_M | 8.8high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N |
| NVD | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N |
Classification
What each source says
CVE List
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.84.0, LiteLLM's MCP Streamable HTTP endpoint allowed an unauthenticated attacker to use a fabricated Authorization header to trigger an OAuth2 passthrough fallback path that replaced failed LiteLLM key validation with an empty UserAPIKeyAuth() object, allowing requests to reach MCP tooling without a valid LiteLLM key. This issue is fixed in version 1.84.0.
GitHub Advisory Database
Impact
LiteLLM's MCP Streamable HTTP endpoint could allow an unauthenticated attacker to establish an authenticated MCP session using an arbitrary Bearer token.
The MCP auth handler supported OAuth2 passthrough for upstream MCP servers, but the fallback path could replace failed LiteLLM key validation with an empty UserAPIKeyAuth() object. This allowed requests with a fabricated Authorization header to reach MCP tooling without a valid LiteLLM key.
An attacker could use this to list and call configured MCP tools and access connected services exposed through MCP.
Patches
The issue is fixed in 1.84.0.
We recommend upgrading to 1.84.0 or later.
Workarounds
If upgrading is not immediately possible, disable MCP routes or block access to /mcp/ and related MCP endpoints at your reverse proxy or API gateway.
References
NVD (es)
LiteLLM es un servidor proxy (AI Gateway) para llamar a las API de LLM en formato OpenAI (o nativo). Antes de la versión 1.84.0, el endpoint HTTP MCP Streamable de LiteLLM permitía a un atacante no autenticado utilizar un encabezado de autorización falsificado para activar una ruta de respaldo de paso de OAuth2 que reemplazaba la validación fallida de la clave de LiteLLM con un objeto UserAPIKeyAuth() vacío, permitiendo que las solicitudes llegaran a las herramientas de MCP sin una clave de LiteLLM válida. Este problema está solucionado en la versión 1.84.0.
CISA KEV
BerriAI LiteLLM contains an improper authentication vulnerability in the MCP Streamable HTTP endpoint that could allow an unauthenticated attacker to establish an authenticated MCP session using an arbitrary Bearer token.
References
| https://github.com/BerriAI/litellm/security/advisories/GHSA-7488-6r32-c95q | kev, mitigation, patch, vendor-advisory, web | |
| https://github.com/BerriAI/litellm/pull/26463 | issue-tracking, patch, web | |
| https://github.com/BerriAI/litellm/commit/73869f0faf7d11ee21adcb5f91b8c33a340b6c2c | patch, web | |
| https://github.com/BerriAI/litellm/releases/tag/v1.84.0 | product, release-notes, web | |
| https://www.wiz.io/blog/ai-infrastructure-honeypot | third-party-advisory | |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-59822 | government-resource, us-government-resource | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-59822 | advisory, kev | |
| https://github.com/BerriAI/litellm | package | |
| https://pypi.org/project/litellm | package | |
| https://github.com/advisories/GHSA-7488-6r32-c95q | advisory | |
| https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk | kev | |
| https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk | kev | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-59822 changed 2026-09-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7488-6r32-c95q changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-59822 changed 2026-10-25 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3479 changed 2026-07-23 | CC-BY-4.0 |
| CISA KEV | CVE-2026-59822 changed 2026-09-02 | CC0-1.0 |