All vulnerabilities

Servers and applications

GHSA-m8fp-3f3g-j5p7

Persistent Deployment Poisoning via Client-Side api_base in LiteLLM Proxy

Severity
High 8.4
Published
23 Nov 2026
Last changed
23 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.103.0
Weakness
CWE-488
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
Sources
Project advisories (GitHub)

Description

When a request supplied its own provider credential or endpoint (api_key, api_base or base_url), the LiteLLM proxy built a deployment for that request and also added it to the router's shared list of deployments under the same model name. Later requests for that model from any user were load-balanced across the original deployment and every deployment added this way. Added deployments stayed in the router until the proxy restarted.

Impact depends on the proxy's configuration.

On a default configuration, a caller could put an api_key in the request body. Other users' requests for that model could then go out on the caller's key, or fail if the key was not valid.

With forward_llm_provider_auth_headers enabled, a provider key that one user sent in x-api-key could be used for other users' requests to the same model. The first user's provider account was billed for that usage.

From BerriAI/litellm's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
LiteLLMServers and applications · github:berriai/litellm
  • From 1.63.2 before 1.103.0

About LiteLLM

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

From its GitHub repository.
Weekly downloads (PyPI)
25,827,159PyPI Stats, 22 Nov 2026
GitHub stars
63,681GitHub, 22 Nov 2026
Forks
13,467GitHub, 22 Nov 2026
Latest release
v1.110.2GitHub, 22 Nov 2026
Released
20 Nov 2026GitHub
First published on GitHub
27 Jul 2023GitHub

References