Insertion of Sensitive Information into Log File Affecting litellm package, versions [,1.80.15)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Learn

Learn about Insertion of Sensitive Information into Log File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LITELLM-15170825
  • published2 Feb 2026
  • disclosed1 Feb 2026
  • creditUnknown

Introduced: 1 Feb 2026

CVE NOT AVAILABLE CWE-532  (opens in a new tab)

How to fix?

Upgrade litellm to version 1.80.15 or higher.

Overview

litellm is a Library to easily interface with LLM API providers

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File via the _user_api_key_auth_builder() function, which leaks expired session keys into the authentication error output of other sessions. The expired key may be used if a session is reactivated by an administrator or a compromised admin account.

CVSS Base Scores

version 4.0
version 3.1