| Component | LiteLLM |
| Severity | medium (CVSS 4.9) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| Published (NVD) | 2024-06-06 |
| Last modified | 2026-06-17 |
| Affected versions | <= 1.27.14 from the GitHub-reviewed advisory GHSA-8j42-pcfm-3467 |
| Fixed in | see the vendor advisory |
| Weakness | CWE-89 |
| CISA KEV | not listed |
Versions, checked against NVD
NVD's analysis reads = 1.27.14. The ranges above come from the GitHub-reviewed advisory GHSA-8j42-pcfm-3467. The page and the scanner follow it: no more trusted source, and no two sources together, say otherwise (see the methodology).
NVD 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
- No fixed release is known yet: follow the vendor advisory below and keep LiteLLM off the public internet until a fix ships.
- Do not expose the component's API or UI to the internet without authentication in front of it.