VDB
Sign up
HIGH7.5

PYSEC-2026-1549

LiteLLM Vulnerable to Denial of Service (DoS)

Quick fix

PYSEC-2026-1549 — litellm: upgrade to the fixed version with the command below.

pip install --upgrade 'litellm>=1.53.1.dev1'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/litellm
Introduced in: 0Fixed in: 1.53.1.dev1
Fixpip install --upgrade 'litellm>=1.53.1.dev1'

References