What’s Vulnerable › Vulnerabilities

CVE-2025-0628: Improper Authorization in BerriAI/litellm

Description

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.

Affected products

How to fix

Upgrade to a fixed version: BerriAI litellm v1.61.15-nightly. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-0628 or the next vulnerability affects your stack