ADVISORIES

PyPA Advisory Database

PYSEC-2026-4067

LiteLLM: MCP Proxy Has Improper Authentication

Details

A weakness has been identified in BerriAI litellm up to 1.59.8. Affected is the function UserAPIKeyAuth of the file litellm/proxy/_experimental/mcp_server/auth/user_api_key_auth_mcp.py of the component MCP Proxy. Executing a manipulation can lead to improper authentication. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure.

Affected packages

EcosystemPackageAffected versions
PyPIlitellm
All versions before 1.84.0 (fixed in 1.84.0)

References