All vulnerabilities

Servers and applications

GHSA-34v7-jqrg-944p

Persistent Global Callback Injection Enables Cross-User Data Exfiltration in LiteLLM Proxy

Severity
Medium 5.4
Published
23 Nov 2026
Last changed
23 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.84.0
Weakness
Information exposure (CWE-200)CWE-471
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Sources
Project advisories (GitHub)

Description

LiteLLM Proxy passed the callbacks field from a request body through to the LiteLLM SDK. The SDK 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 on the same worker, from every user, until the worker restarted. The same path also accepted service_callback, logger_fn and litellm_disabled_callbacks.

Once turned on, the integration sent every user's prompts and responses to the observability backend set by the server's environment variables. That backend is configured by the operator, so the data did not go to a host the attacker picked, but it did go to a service the operator had not enabled for logging.

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

Workarounds

Remove credentials for observability integrations you do not use from the proxy's environment. Restart the proxy to clear any callback that was already injected, and do this after upgrading as well.

Workarounds as given by BerriAI/litellm's security advisory.

Affected software

SoftwareAffected versions
LiteLLMServers and applications · github:berriai/litellm
  • From 1.62.4 before 1.84.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