MEDIUM5.3
PYSEC-2026-1551
litellm vulnerable to improper access control in team management
Quick fix
PYSEC-2026-1551 — litellm: upgrade to the fixed version with the command below.
pip install --upgrade 'litellm>=1.40.15'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-5710[ADVISORY]
- https://github.com/BerriAI/litellm/commit/da3ae00bd68f451ed8ddf0bc0a9fd34bde5554d6[WEB]
- https://github.com/BerriAI/litellm/blob/224148d6133ee50801cb129cbd21ccc213992e25/litellm/proxy/auth/user_api_key_auth.py#L1020[WEB]
- https://github.com/berriai/litellm[PACKAGE]
- https://huntr.com/bounties/70897f59-a966-4d93-b71e-745e3da91970[WEB]
- https://pypi.org/project/litellm[PACKAGE]
- https://github.com/advisories/GHSA-qqcv-vg9f-5rr3[ADVISORY]