Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-7488-6r32-c95q

Опубликовано: 22 июл. 2026
Источник: github
Github: Прошло ревью
CVSS4: 8.8

Описание

LiteLLM: MCP Authentication Bypass via OAuth2 Passthrough Fallback

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

Пакеты

Наименование

litellm

pip
Затронутые версииВерсия исправления

< 1.84.0

1.84.0

EPSS

Процентиль: 42%
0.00516
Низкий

8.8 High

CVSS4

Дефекты

CWE-287

Связанные уязвимости

CVSS3: 8.2
nvd
около 2 месяцев назад

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.

EPSS

Процентиль: 42%
0.00516
Низкий

8.8 High

CVSS4

Дефекты

CWE-287