← All advisories

CVE-2026-135287mediumData leakage2026-11-23

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.

01.

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.

02.

How to check

  1. 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.
  2. List observability credentials in the proxy environment (LANGSMITH_API_KEY, LANGFUSE_SECRET_KEY and similar) for integrations you don't use.
  3. 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.
03.

How to fix

  1. Upgrade LiteLLM to 1.84.4 or later (1.84.0 per NVD) and then restart every proxy worker.
  2. Remove credentials for observability integrations you don't use from the proxy's environment.
  3. 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
04.

Sources

Related on VibeVulns
More advisories for this tool
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.