External Control of System or Configuration Setting Affecting litellm package, versions [1.62.4,1.84.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.35% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-LITELLM-22989294
  • published26 Nov 2026
  • disclosed23 Nov 2026
  • creditYu Bao

Introduced: 23 Nov 2026

NewCVE-2026-135287  (opens in a new tab)
CWE-15  (opens in a new tab)

How to fix?

Upgrade litellm to version 1.84.4 or higher.

Overview

litellm is a Library to easily interface with LLM API providers

Affected versions of this package are vulnerable to External Control of System or Configuration Setting via the callbacks field in request bodies, which LiteLLM Proxy passes through to the LiteLLM SDK without scoping it to the individual request. The SDK appends each named callback to the worker's global callback lists, so any authenticated API key holder can send a single request with a callbacks value such as ["langsmith"] or ["langfuse"] and activate that observability integration process-wide for all subsequent requests on the same worker, from every user, until the worker restarts. The same injection path accepts service_callback, logger_fn, and litellm_disabled_callbacks, allowing an attacker to either redirect all users' prompts and responses to an unintended observability backend or suppress operator-configured logging entirely.

Note: Only integrations whose credentials are already present in the proxy's environment (for example LANGSMITH_API_KEY or LANGFUSE_SECRET_KEY) and that the operator had not already enabled are affected.

Workaround

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 again after upgrading.

CVSS Base Scores

version 4.0
version 3.1