Skip to main content
CVE-2025-0628VulnerabilityPublished Updated

CVE-2025-0628: berriai/litellm · Incorrect Privilege Assignment

Affects berriai/litellmSource CVE Database V5

0

Not known to be exploited · CVSS 8.1 High.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.0 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

AI-suggested

1. Immediately audit all API keys issued to users with the 'internal_user_viewer' role and revoke any keys with excessive privileges. 2. Implement strict role-based access control (RBAC) policies ensuring that API keys are generated with the principle of least privilege, limiting access strictly to necessary endpoints. 3. Introduce multi-factor authentication (MFA) for administrative functions to add an additional security layer. 4. Monitor API usage logs for unusual access patterns, especially calls to administrative endpoints from accounts with viewer roles. 5. Engage with BerriAI to obtain patches or updates addressing this vulnerability as soon as they become available. 6. Conduct a thorough security review of authorization mechanisms within litellm and related applications to identify and remediate similar privilege assignment issues. 7. Educate internal teams about the risk and signs of privilege escalation attacks to enhance detection and response capabilities.

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.

References

Community reviews

Loading reviews…