LiteLLM Proxy 1.62.4 before 1.84.0 contains a callback injection vulnerability that allows authenticated API key holders to register process-wide logging callbacks by supplying callbacks fields in request bodies. Attackers can name an unenabled observability integration such as langsmith or langfuse to leak all users' prompts and responses, or suppress operator logging via litellm_disabled_callbacks.
https://github.com/BerriAI/litellm/security/advisories/GHSA-34v7-jqrg-944p
https://github.com/BerriAI/litellm/releases/tag/v1.84.0
https://github.com/BerriAI/litellm/pull/27245
https://github.com/BerriAI/litellm/commit/6ff668c7aa01a73738ed39aa64913a089a183565
https://github.com/BerriAI/litellm/blob/v1.83.14-stable/litellm/utils.py#L785-L812