CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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

8.1 CVSS

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.

Classification

CVE ID: CVE-2025-0628

CVSS Base Severity: HIGH

CVSS Base Score: 8.1

CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Problem Types

CWE-285 Improper Authorization

Affected Products

Vendor: berriai

Product: berriai/litellm

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.03% (probability of being exploited)

EPSS Percentile: 7.33% (scored less or equal to compared to others)

EPSS Date: 2025-04-18 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-0628
https://huntr.com/bounties/6c0e2f75-2d03-42f9-9530-e16a973317fc
https://github.com/berriai/litellm/commit/566d9354aab4215091b2e51ad0333e948125fa1b

Timeline