Vulnerability · Published Mar 20, 2025 · Assigned by @huntr_ai

CVE-2025-0628Improper Authorization in BerriAI/litellm

High 8.1

In plain English

A high-severity security flaw in berriai/litellm from berriai. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)8.1High
Exploit odds (30 days)0.3%top 71.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIlitellm1.61.15GHSA-fjcf-3j3r-78rp
PyPIlitellm1.61.15PYSEC-2026-1546

Affected products (as reported)

VendorProductVersions
berriai berriai/litellm unspecified – before v1.61.15-nightly

Weakness: CWE-266 · Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

References