NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · LiteLLM

CVE-2024-5710: litellm vulnerable to improper access control in team management

mediumCVSS 3.1 5.3GHSA-qqcv-vg9f-5rr3

litellm before 1.40.15 has missing authorization checks on its team management endpoints in the proxy. A user with low privileges can create, update, view, delete, block and unblock any team, and add or remove any member. Upgrade to litellm 1.40.15. The advisory describes version 1.34.34.

Published Jun 27, 2024 · Updated Mar 25, 2026 · Analysis Nov 1, 2026

What an attacker can do

The LiteLLM proxy groups users and virtual keys into teams, and teams carry budgets, model access and members. The team management endpoints did not check enough about who was calling. A caller who held any valid key, which fits the low-privileges vector, could act on teams they do not belong to.

In practice that means an attacker with a normal key can read other teams' details, delete or block a team so its users lose access, or add themselves to a team with larger budgets and model permissions. Removing members from a team also cuts off legitimate users. The CVSS vector scores integrity only, with high attack complexity, and no confidentiality or availability impact. The sources do not describe code execution or access to provider keys through this flaw. It is an authorization problem inside the proxy, so it matters most for shared proxies serving several teams.

Who is affected

Affected: litellm < 1.40.15, where the proxy server with team management is in use. The advisory names 1.34.34 as the reported version. Single-user setups that do not hand out keys to other people have little exposure.

pip show litellm

If you run the proxy from a container image, check the image tag for the litellm version.

litellm

Ecosystem
PyPI
Affected
< 1.40.15
Fixed in
1.40.15
Check
pip show litellm

How to fix it

Upgrade to litellm 1.40.15.

pip install --upgrade "litellm>=1.40.15"

The reference fix commit is titled "fix - proxy refactor user_api_key_auth" and touches the proxy authentication code. The sources do not describe the individual checks added and list no workaround. After upgrading, review team membership, budgets and blocked flags for changes you did not make.

How to tell if you were hit

Audit the teams in the proxy: unexpected new teams, deleted or blocked teams, and members added or removed without an administrator's action. Check proxy access logs for calls to the team endpoints (create, update, delete, block, unblock, member add and delete) made with keys of non-admin users. Compare each team's member list with your records.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

berriai/litellm version 1.34.34 is vulnerable to improper access control in its team management functionality. This vulnerability allows attackers to perform unauthorized actions such as creating, updating, viewing, deleting, blocking, and unblocking any teams, as well as adding or deleting any member to or from any teams. The vulnerability stems from insufficient access control checks in various team management endpoints, enabling attackers to exploit these functionalities without proper authorization.

Credited to byt3bl33d3r.

Questions

Does CVE-2024-5710 need admin rights?

No. The point of the flaw is that team actions work without proper authorization. The CVSS vector requires low privileges, meaning an ordinary valid key.

Can this flaw steal provider API keys?

The sources do not say so. They describe unauthorized team and membership changes, with integrity impact only.

Which version fixes it?

litellm 1.40.15. Versions below it are listed as vulnerable.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More LiteLLM vulnerabilities

All LiteLLM entries