CVE-2024-4888
published medium CVSS 3.0 · 6.5Arbitrary File Deletion in BerriAI/litellm
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| berriai | berriai/litellm | unspecified through latest (affected · custom) | @huntr_ai · cna |
| berriai | litellm | 1.34.41 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-862 CWE-862 Missing Authorization
References
1Provider assertions
3@huntr_ai · cna
Arbitrary File Deletion in BerriAI/litellm
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- aa4e3f334c5500996b5a5e45bfa5823bc15f7905592bcba1774f8f77fdb140b7
- Ingested
- 23 Sep 2026, 08:29:37 UTC
- Source record
- Official CVE record