PyPA Advisory Database
PYSEC-2026-1549
LiteLLM Vulnerable to Denial of Service (DoS)
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | litellm | All versions before 1.53.1.dev1 (fixed in 1.53.1.dev1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-10188
- https://github.com/berriai/litellm/commit/21156ff5d0d84a7dd93f951ca033275c77e4f73c
- https://github.com/BerriAI/litellm
- https://huntr.com/bounties/96a32812-213c-4819-ba4e-36143d35e95b
- https://pypi.org/project/litellm
- https://github.com/advisories/GHSA-gw2q-qw9j-rgv7