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

Published Mar 20, 2025
·
Updated

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

2 affected componentsFixes available
pip/litellm<1.61.15
1.61.15
BerriAI LiteLLM

Event History

Mar 20, 2025
CVE Published
via MITRE·10:10 AM
Data Sourced
via MITRE·10:10 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·12:32 PM
Data Sourced
via GitHub·12:32 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

Who is affected by CVE-2025-0628?

CVE-2025-0628 affects users of the BerriAI litellm application who have the role 'internal_user_viewer'.

4

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.

5

What version of BerriAI litellm is affected by CVE-2025-0628?

CVE-2025-0628 affects the main-latest version of BerriAI litellm.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203