CVEvulnerability
CVE-2024-4888
8.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-06-06
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.1 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- CVSS 3.0 ([email protected])
- 6.5 MEDIUM — CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
- Weaknesses
- CWE-862
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.
Affected configurations
• litellm litellm (< 1.35.19)
Related
Weakness · CWE (1)
- CWE-862 Missing Authorization weakness
References
- https://huntr.com/bounties/48461d89-cf13-4ad3-a43e-0d37da08fc6c Exploit, Third Party Advisory
- https://huntr.com/bounties/48461d89-cf13-4ad3-a43e-0d37da08fc6c Exploit, Third Party Advisory