CVE-2025-0628 Details
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.
A vulnerability allowing improper authorization has been identified in BerriAI's Litellm, specifically in the main-latest version. This issue arises when a user with the 'internal_user_viewer' role logs into the application, as they are granted an excessively privileged API key. This key enables access to all administrative functionalities, including sensitive endpoints such as '/users/list' and '/users/get_users'. Consequently, this vulnerability facilitates privilege escalation, allowing any user account to attain PROXY ADMIN status.
Users are advised to update to the patched version of Litellm, which addresses this authorization issue. The latest version can be downloaded from the BerriAI Litellm GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 20, 2025CISA-ADP
Assessed Mar 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/berriai/litellm/commit/566d9354aab4215091b2e51ad0333e948125fa1b | [email protected] | Source CodeVendor |
| https://huntr.com/bounties/6c0e2f75-2d03-42f9-9530-e16a973317fc | [email protected] | Technical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-266 | Incorrect Privilege Assignment | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| BerriAI litellm | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2025 | CVE Modified | [email protected] |
| Mar 20, 2025 | New CVE Received | [email protected] |
Volerion