Incorrect Permission Assignment for Critical Resource Affecting litellm package, versions [,1.64.1)


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 IDSNYK-PYTHON-LITELLM-9667338
  • published6 Apr 2025
  • disclosed1 Apr 2025
  • creditUnknown

Introduced: 1 Apr 2025

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

How to fix?

Upgrade litellm to version 1.64.1 or higher.

Overview

litellm is a Library to easily interface with LLM API providers

Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource on the Azure OpenAI route. The get_model_from_request() function does not necessarily enforce access restrictions, when an attacker specifies the target model as a URL parameter and not in the payload of the request.

References

CVSS Base Scores

version 4.0
version 3.1