CVE-2026-59822
JSON

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 packageVersionsReported by
BerriAI litellm< 1.84.0CVE List, CISA KEV
litellm (PyPI)before 1.84.0GitHub Advisory Database, PyPA Advisory Database
litellm litellmbefore 1.84.0NVD

All scores

GitHub_M8.8high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
NVD8.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS: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

CWE-287CWE-306

SSVC (CISA-ADP): exploitation active, automatable yes, technical impact partial.

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-c95qkev, mitigation, patch, vendor-advisory, web
https://github.com/BerriAI/litellm/pull/26463issue-tracking, patch, web
https://github.com/BerriAI/litellm/commit/73869f0faf7d11ee21adcb5f91b8c33a340b6c2cpatch, web
https://github.com/BerriAI/litellm/releases/tag/v1.84.0product, release-notes, web
https://www.wiz.io/blog/ai-infrastructure-honeypotthird-party-advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-59822government-resource, us-government-resource
https://nvd.nist.gov/vuln/detail/CVE-2026-59822advisory, kev
https://github.com/BerriAI/litellmpackage
https://pypi.org/project/litellmpackage
https://github.com/advisories/GHSA-7488-6r32-c95qadvisory
https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-riskkev
https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-riskkev

Sources

SourceRecordLicence
CVE ListCVE-2026-59822 changed 2026-09-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-7488-6r32-c95q changed 2026-09-10CC-BY-4.0
NVDCVE-2026-59822 changed 2026-10-25Public domain
PyPA Advisory DatabasePYSEC-2026-3479 changed 2026-07-23CC-BY-4.0
CISA KEVCVE-2026-59822 changed 2026-09-02CC0-1.0