Live threats

All CVEs / Litellm

CVE-2024-4888Litellm

High 8.1

Priority
49
CVSS 3.1
8.1
EPSS
0.8%
probability of exploitation in 30 days · percentile 52
Auth required
Yes
Published
Jun 6, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

What happens

BerriAI's litellm, in its latest version, is vulnerable to arbitrary file deletion due to improper input validation on the `/audio/transcriptions` endpoint. An attacker can exploit this vulnerability by sending a specially crafted request that includes a file path to the server, which then deletes the specified file without proper authorization or validation. This vulnerability is present in the code where `os.remove(file.filename)` is used to delete a file, allowing any user to delete critical files on the server such as SSH keys, SQLite databases, or configuration files.

Original NVD text.

What to do

  1. Apply the vendor's security update for Litellm.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI litellm < 1.35.36 1.35.36 pip install "litellm>=1.35.36"
PyPI litellm < 1.35.36 1.35.36 pip install "litellm>=1.35.36"

Per OSV / GitHub Advisories (GHSA-3xr8-qfvj-9p9j, PYSEC-2026-1540). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
litellmlitellm< 1.35.19

Official sources

References

Links published by the sources. Open them with care.