Advisory

GHSA-8j42-pcfm-3467

Also known as: CVE-2024-4890, PYSEC-2026-1544

Summary

SQL injection in litellm

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-06-06 21:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

litellm

PyPI · All systems

Affected

  • introduced 0, last affected 1.27.14 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences