Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. litellm
  4. ›
  5. CVE-2025-0628

CVE-2025-0628: LiteLLM Has an Improper Authorization Vulnerability

March 20, 2025

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.

References

  • github.com/BerriAI/litellm
  • github.com/advisories/GHSA-fjcf-3j3r-78rp
  • github.com/berriai/litellm/commit/566d9354aab4215091b2e51ad0333e948125fa1b
  • huntr.com/bounties/6c0e2f75-2d03-42f9-9530-e16a973317fc
  • nvd.nist.gov/vuln/detail/CVE-2025-0628

Code Behaviors & Features

Detect and mitigate CVE-2025-0628 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.61.15

Fixed versions

  • 1.61.15

Solution

Upgrade to version 1.61.15 or above.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization

Source file

pypi/litellm/CVE-2025-0628.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:07 +0000.