# CVE-2024-4888: Arbitrary File Deletion in BerriAI/litellm

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-06-06 · Modified: 2024-11-03
- Aliases: GHSA-3xr8-qfvj-9p9j, PYSEC-2026-1540
- Record: https://cvemate.com/vulnerability/CVE-2024-4888 · JSON: https://cvemate.com/vulnerability/CVE-2024-4888/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- EPSS: 0.614%, percentile 50.84%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- berriai berriai/litellm: ≥ unspecified, ≤ latest
- litellm litellm: \< 1.35.19
- PyPI litellm (PyPI): \< 1.35.36

## References

- <https://huntr.com/bounties/48461d89-cf13-4ad3-a43e-0d37da08fc6c>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-4888>
- <https://github.com/BerriAI/litellm/pull/3193>
- <https://github.com/BerriAI/litellm>
- <https://pypi.org/project/litellm>
- <https://github.com/advisories/GHSA-3xr8-qfvj-9p9j>

---

Data as of 2026-12-05T13:06:12.622Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
