CVE-2024-4888 - CVE House
Back to Database
Status published Medium CVE-2024-4888

Arbitrary File Deletion in BerriAI/litellm

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-4888

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

berriai/litellm
Vulnerable Versions:
unspecified

Timeline

Official Publish: June 6th, 2024
Last Modified: November 3rd, 2024
Added to House: July 22nd, 2026

CVSS Vectors

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

Weaknesses (CWE)