BerriAI LiteLLM performs separate MCP authentication for its MCP Streamable HTTP endpoint. When a request contains an Authorization header but LiteLLM key validation fails with a 401 or 403 response, the OAuth2 passthrough fallback can treat that header as a token intended for an upstream MCP server and replace the authentication failure with an empty UserAPIKeyAuth() object. A fabricated Bearer token can therefore turn a failed authentication attempt into an accepted MCP session, allowing the request to reach MCP tooling without a valid LiteLLM key.
The vulnerable service must expose a reachable MCP Streamable HTTP endpoint, and the request must enter the fallback path described above. The vendor fix limits the fallback to cases where every MCP server targeted by the request is explicitly configured with auth_type=oauth2; unresolved targets and targets using other authentication modes retain the authentication failure. The same handler change also replaces a full-URL substring check for .well-known with a path-prefix check for /.well-known/, preventing public-route detection from being bypassed through a query string, hostname, or unrelated path segment. The supplied CVE description focuses on the OAuth2 passthrough fallback, so deployment-specific MCP server configuration still needs to be reviewed.