CVE-2026-135287: LiteLLM Proxy let any API key holder name a callback such as langsmith or langfuse in a request body and switch it on for every later request on the worker, sending all users' prompts and responses to an observability backend the operator never enabled (fixed 1.84.0)
LiteLLM Proxy 1.62.4 before 1.84.0 passed the callbacks field from a request body through to the LiteLLM SDK, which added each named callback to the worker's global callback lists instead of using it only for that request. Any user with a valid API key could send one request with, for example, "callbacks": ["langsmith"] and turn that integration on for every later request from every user on the same worker until it restarted. The same path accepted service_callback, logger_fn and litellm_disabled_callbacks, so a caller could also suppress the operator's own logging. Only integrations whose credentials are already in the proxy's environment and that the operator had not enabled are affected: data goes to the operator's configured backend, not to a host the attacker picks.
What it is
Affected: litellm (PyPI) 1.62.4 up to (not including) 1.84.0 per NVD and VulnCheck. The GitHub advisory lists 1.84.4 as the first patched release in its package range.
The fix landed via PR #27245 and shipped in LiteLLM v1.84.0 (May 2026); the advisory (CWE-200/CWE-471) was published on 23 November 2026 and NVD published the CVE (CNA VulnCheck) the same day.
An injected callback persists in the worker process, so upgrading alone does not clear it; the proxy needs a restart.
How to check
- pip show litellm (or your proxy image tag): versions from 1.62.4 below 1.84.0 are affected; to be safe, treat anything below 1.84.4 as needing the upgrade.
- List observability credentials in the proxy environment (LANGSMITH_API_KEY, LANGFUSE_SECRET_KEY and similar) for integrations you don't use.
- Check those observability projects for traces you didn't expect, and proxy request logs for bodies containing callbacks, service_callback, logger_fn or litellm_disabled_callbacks.
How to fix
- Upgrade LiteLLM to 1.84.4 or later (1.84.0 per NVD) and then restart every proxy worker.
- Remove credentials for observability integrations you don't use from the proxy's environment.
- If prompts may have leaked to an unexpected backend, delete those traces there.
pip show litellm | grep -i version
pip install -U 'litellm>=1.84.4'
# then restart the proxy to drop any injected callback Sources
- criticalLiteLLM 1.107.0 on PyPI and Docker was malware: a credential stealer that runs whenever Python starts
- criticalCVE-2026-37004: LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint
- criticalCVE-2026-49468: LiteLLM: Authentication Bypass via Host Header Injection
- criticalCVE-2026-42208: LiteLLM has SQL Injection in Proxy API key verification