HIGH8.1
PYSEC-2026-1546
LiteLLM Has an Improper Authorization Vulnerability
Quick fix
PYSEC-2026-1546 — litellm: upgrade to the fixed version with the command below.
pip install --upgrade 'litellm>=1.61.15'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-0628[ADVISORY]
- https://github.com/berriai/litellm/commit/566d9354aab4215091b2e51ad0333e948125fa1b[WEB]
- https://github.com/BerriAI/litellm[PACKAGE]
- https://huntr.com/bounties/6c0e2f75-2d03-42f9-9530-e16a973317fc[WEB]
- https://pypi.org/project/litellm[PACKAGE]
- https://github.com/advisories/GHSA-fjcf-3j3r-78rp[ADVISORY]