Intel

AIKIDO-2025-10227

litellm is vulnerable to Incorrect Permission Assignment for Critical Resource

Incorrect Permission Assignment for Critical Resource Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 10, 2025

70

High Risk

This Affects:

pythonlitellm
0.1.0 - 1.64.0
Fixed in 1.64.1
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource in the Azure OpenAI route. The get_model_from_request() function does not reliably enforce access controls when the target model is specified via a URL parameter instead of within the request payload, allowing attackers to potentially bypass authorization checks and access unauthorized models.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

litellm is vulnerable to Incorrect Permission Assignment for Critical Resource in versions 0.1.0 - 1.64.0.

How to fix this

Upgrade the litellm library to the patch version.