INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2025-0628

LiteLLM Has an Improper Authorization Vulnerability

CVE-2025-0628 ยท 2025-03-20 high

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Authentication and access control
Affected
litellm (PyPI)
Gets past
Authorisation check
CVSS
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS
0.3% chance of exploitation in 30 days

How it works, in short

A viewer role receives an overly privileged API key, letting it call admin endpoints and promote itself to proxy admin. (Our summary, written by a model. The source text is below.)

Details

An improper authorization vulnerability exists in the main-latest version of BerriAI/litellm. When a user with the role 'internal_user_viewer' logs into the application, they are provided with an overly privileged API key. This key can be used to access all the admin functionality of the application, including endpoints such as '/users/list' and '/users/get_users'. This vulnerability allows for privilege escalation within the application, enabling any account to become a PROXY ADMIN.

References

Source: GitHub Advisory Database, used under CC BY 4.0.