CVE-2024-4888: Arbitrary File Deletion in BerriAI/litellm
Vulnerability summary
CVE-2024-4888 is a high (CVSS 8.1) Missing Authorization vulnerability in berriai berriai/litellm. EPSS estimates a 0.61% chance of exploitation in the next 30 days, higher than 50.8% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 06-06-2024PublishedVulnerability first disclosed.
- 03-11-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 3 sources · 3 versions- OSV · PypiEcosystem advisory · calculated6.5MediumCVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
- NVDNIST6.5MediumCVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
EPSS trend
Probability
0.61%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.62% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (huntr.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Berriai1 product
- berriai/litellm≥ unspecified, ≤ latest
Litellm1 product
- litellm< 1.35.19
PyPI1 product
- litellm< 1.35.36
3 vendors · 3 products
References
6 links- github.com/BerriAI/litellmPACKAGE
- pypi.org/project/litellmPACKAGE