Advisory

PYSEC-2026-1549

Also known as: CVE-2024-10188, GHSA-gw2q-qw9j-rgv7

Summary

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

litellm

PyPI · All systems

Affected

  • introduced 0, fixed 1.53.1.dev1 (ecosystem)

Fixed versions

1.53.1.dev1

Fix

  • Fixed version 1.53.1.dev1
    pip install --upgrade litellm==1.53.1.dev1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences