Privilege escalation in Berriai Berriai/litellm

CVE-2025-0628

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.

EPSS: 0.003 (23.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-0628?
CVE-2025-0628 is a high-severity vulnerability in Berriai Berriai/litellm, classified under Incorrect Privilege Assignment. CVSS score: 8.1/10. Published 2025-03-20.
How severe is CVE-2025-0628?
High severity. CVSS v3 base score is 8.1 out of 10.