CVE-2024-4888
HIGH 8.1CVSS 3.1Arbitrary file deletion in litellm
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.
- Published
- 6 Jun 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-20CWE-862
- Also known as
- GHSA-3xr8-qfvj-9p9jPYSEC-2026-1540
- Sources
- NVDJSONOSV GHSA-3xr8-qfvj-9p9jJSONOSV PYSEC-2026-1540JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H |
| OSV | PyPA | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | litellm | litellmcpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:* |
< 1.35.19 | 1.35.19 |
| OSV | PyPI | litellm | < 1.35.36 | 1.35.36 |
References
- https://huntr.com/bounties/48461d89-cf13-4ad3-a43e-0d37da08fc6c · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-4888 · ADVISORY
- https://github.com/BerriAI/litellm/pull/3193 · WEB
- https://github.com/BerriAI/litellm · PACKAGE
- https://pypi.org/project/litellm · PACKAGE
- https://github.com/advisories/GHSA-3xr8-qfvj-9p9j · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 6 Jun 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Jun 2024)