CVE-2025-0628: Improper Authorization in BerriAI/litellm
An improper authorization vulnerability exists in the main-latest version of BerriAI/litellm. When a user with the role 'internaluserviewer' 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/getusers'. This vulnerability allows for privilege escalation within the application, enabling any account to become a PROXY ADMIN.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-0628?
The severity of CVE-2025-0628 is classified as high due to improper authorization leading to unauthorized access to admin functionalities.
How do I fix CVE-2025-0628?
To fix CVE-2025-0628, ensure proper role permissions are implemented and restrict the API key access based on user roles.
Who is affected by CVE-2025-0628?
CVE-2025-0628 affects users of the BerriAI litellm application who have the role 'internal_user_viewer'.
What can an attacker do with CVE-2025-0628?
An attacker exploiting CVE-2025-0628 can utilize the unauthorized API key to access and manipulate all admin functionalities.
What version of BerriAI litellm is affected by CVE-2025-0628?
CVE-2025-0628 affects the main-latest version of BerriAI litellm.