CVE-2025-0628

Improper Authorization in BerriAI/litellm

State
Published
Severity
8.1 High
Published
Mar 20, 2025
Updated
Oct 15, 2025
Reserved
Jan 21, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.08.1 HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N@huntr_ai

Weaknesses

  • CWE-266 Incorrect Privilege Assignment

Affected Products

ProductVersions
berriai/litellmberriai
  • before v1.61.15-nightlyAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.