Exposure of Sensitive System Information to an Unauthorized Control Sphere Affecting litellm package, versions [,1.84.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.73% (51st 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-22989493
  • published26 Nov 2026
  • disclosed24 Nov 2026
  • creditUnknown

Introduced: 24 Nov 2026

NewCVE-2026-136540  (opens in a new tab)
CWE-497  (opens in a new tab)

How to fix?

Upgrade litellm to version 1.84.0 or higher.

Overview

litellm is a Library to easily interface with LLM API providers

Affected versions of this package are vulnerable to Exposure of Sensitive System Information to an Unauthorized Control Sphere via improper input validation in the secret resolution handler, which resolves os.environ/ prefixed references supplied in user-controlled request parameters without sanitization. An authenticated remote attacker can supply os.environ/-prefixed values in request parameters (such as /health/test_connection params or per-request callback metadata) to cause the server to resolve and return arbitrary host environment variables, disclosing sensitive secrets such as credentials or API keys.

CVSS Base Scores

version 4.0
version 3.1