Advisory

PYSEC-2026-1546

Also known as: CVE-2025-0628, GHSA-fjcf-3j3r-78rp

Summary

LiteLLM Has an Improper Authorization Vulnerability

Details

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.

Severity

High Basis: CVSS v3 score 8.1, vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

litellm

PyPI · All systems

Affected

  • introduced 0, fixed 1.61.15 (ecosystem)

Fixed versions

1.61.15

Fix

  • Fixed version 1.61.15
    pip install --upgrade litellm==1.61.15

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences