---
cve: "CVE-2024-4888"
severity: "MEDIUM"
cvss: 6.5
epss: "61%"
vendor: "berriai"
kev: false
exploited: false
published: "2024-06-06 19:16:03"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-14T22:26:52+02:00"
---

# CVE-2024-4888

> 6.5 MEDIUM

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Hoch | good |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Keine | good |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- c015e5e2c6b9100c029e010ae75cb037c61bf2b3 (Commit)

## Referenzen

- <https://huntr.com/bounties/48461d89-cf13-4ad3-a43e-0d37da08fc6c>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2024-4888) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
