Advisory

GHSA-7488-6r32-c95q

Also known as: CVE-2026-59822, PYSEC-2026-3479

Summary

LiteLLM: MCP Authentication Bypass via OAuth2 Passthrough Fallback

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-07-22 22:38 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

litellm

PyPI · All systems

Affected

  • introduced 0, fixed 1.84.0 (ecosystem)

Fixed versions

1.84.0

Fix

  • Fixed version 1.84.0
    pip install --upgrade litellm==1.84.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences