High severity · published Mar 20, 2025
CVE-2025-0628
Improper Authorization in BerriAI/litellm
8.1
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 28% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BE
berriai/litellm · berriai
before v1.61.15-nightly · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-0628
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-0628
github.com
https://github.com/berriai/litellm/commit/566d9354aab4215091b2e51ad0333e948125fa1b
huntr.com
https://huntr.com/bounties/6c0e2f75-2d03-42f9-9530-e16a973317fc
More from berriai/litellm
9.8
CVE-2024-5751
Remote Code Execution in BerriAI/litellm
9.8
CVE-2024-4264
Remote Code Execution in berriai/litellm
9.8
CVE-2024-2952
Server-Side Template Injection in BerriAI/litellm
8.8
CVE-2024-6825
Remote Code Execution in BerriAI/litellm
8.1
CVE-2024-4888
Arbitrary File Deletion in BerriAI/litellm
