Improper Authorization Affecting litellm package, versions [,1.61.15)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

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 Improper Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LITELLM-9511164
  • published24 Mar 2025
  • disclosed20 Mar 2025
  • creditWilliam BenEmbarek

Introduced: 20 Mar 2025

NewCVE-2025-0628  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

Upgrade litellm to version 1.61.15 or higher.

Overview

litellm is a Library to easily interface with LLM API providers

Affected versions of this package are vulnerable to Improper Authorization due to the overly privileged API key assigned to internal_user_viewer roles. An attacker can escalate privileges within the application by accessing administrative functions such as /users/list and /users/get_users.

CVSS Base Scores

version 4.0
version 3.1