# CVE-2024-5710: Improper Access Control in Team Management in berriai/litellm

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.0, CNA) `CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.52% (percentile 38, 2026-11-26)
- **CWE:** CWE-862
- **Aliases:** GHSA-qqcv-vg9f-5rr3, PYSEC-2026-1551
- **Published:** 2024-06-27T18:41:19.900Z
- **Modified:** 2026-09-10T03:50:15.780Z

## Who should check

- Projects that depend on PyPI package litellm (\< 1.40.15)
- Anyone running berriai/litellm \>= unspecified, \<= latest

## Description

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.

## Affected and fixed versions

- PyPI `litellm`: affected \< 1.40.15; fixed 1.40.15 (osv)
- berriai/litellm: \>= unspecified, \<= latest (cvelist)

## Mitigation

- Upgrade litellm to 1.40.15 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-5710. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-5710.md
Affected: litellm < 1.40.15
Fixed in: 1.40.15

Steps:
1. Search this machine and project for litellm (PyPI), berriai/litellm: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-5710 being exploited?

There is no confirmed exploitation: CVE-2024-5710 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.52% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-5710?

Medium: CVSS 5.3 (v3.0, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-5710?

litellm \< 1.40.15.

### Is there a fix for CVE-2024-5710?

Yes. Fixed in 1.40.15. Upgrade litellm to 1.40.15 or later.

### How do I check if I'm affected by CVE-2024-5710?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-5710>
- vendor: <https://github.com/advisories/GHSA-qqcv-vg9f-5rr3>
- patch: <https://github.com/BerriAI/litellm/commit/da3ae00bd68f451ed8ddf0bc0a9fd34bde5554d6>
- exploit: <https://huntr.com/bounties/70897f59-a966-4d93-b71e-745e3da91970>
- other: <https://github.com/BerriAI/litellm/blob/224148d6133ee50801cb129cbd21ccc213992e25/litellm/proxy/auth/user_api_key_auth.py#L1020>
- other: <https://github.com/berriai/litellm>
- other: <https://pypi.org/project/litellm>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-5710>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-qqcv-vg9f-5rr3> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1551> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-5710> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-5710>
