ADVISORIES

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

EcosystemPackageAffected versions
PyPIlitellm
All versions before 1.53.1.dev1 (fixed in 1.53.1.dev1)

References