Auth bypass in Berriai Berriai/litellm
CVE-2024-4888
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H.
EPSS exploit prediction
EPSS: 0.006 (47.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 48th percentile — 47.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
- Berriai Berriai/litellm — versions unspecified
- Litellm
Weakness classification (CWE)
Public proof-of-concept exploits
References
- huntr.com/bounties/48461d89-cf13-4ad3-a43e-0d37da08fc6c (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2024-4888?
- CVE-2024-4888 is a high-severity vulnerability in Berriai Berriai/litellm, classified under Missing Authorization. CVSS score: 8.1/10. Published 2024-06-06.
- How severe is CVE-2024-4888?
- High severity. CVSS v3 base score is 8.1 out of 10.
- Is CVE-2024-4888 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.