| Component | LiteLLM |
| Severity | high (CVSS 7.5) |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published (NVD) | 2025-03-20 |
| Last modified | 2026-06-17 |
| Affected versions | < 1.53.1.dev1 from the GitHub-reviewed advisory GHSA-gw2q-qw9j-rgv7 |
| Fixed in | 1.53.1.dev1 |
| Weakness | CWE-400 |
| CISA KEV | not listed |
Versions, checked against NVD
NVD's record (status: Deferred) lists no affected versions of LiteLLM for this CVE. The ranges above come from the GitHub-reviewed advisory GHSA-gw2q-qw9j-rgv7.
NVD description
A vulnerability in BerriAI/litellm, as of commit 26c03c9, allows unauthenticated users to cause a Denial of Service (DoS) by exploiting the use of ast.literal_eval to parse user input. This function is not safe and is prone to DoS attacks, which can crash the litellm Python server.
What to do
- Upgrade LiteLLM to
1.53.1.dev1or later. - Do not expose the component's API or UI to the internet without authentication in front of it.
Sources
- NVD: CVE-2024-10188
- https://github.com/berriai/litellm/commit/21156ff5d0d84a7dd93f951ca033275c77e4f73c
- https://huntr.com/bounties/96a32812-213c-4819-ba4e-36143d35e95b