| Component | LiteLLM |
| Severity | high (CVSS 8.1) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| Published (NVD) | 2024-06-06 |
| Last modified | 2026-06-17 |
| Affected versions | < 1.35.36 from the GitHub-reviewed advisory GHSA-3xr8-qfvj-9p9j |
| Fixed in | 1.35.36 |
| Weakness | CWE-862 |
| CISA KEV | not listed |
Versions, checked against NVD
NVD's analysis reads < 1.35.19. The ranges above come from the GitHub-reviewed advisory GHSA-3xr8-qfvj-9p9j. The page and the scanner follow it: no more trusted source, and no two sources together, say otherwise (see the methodology).
NVD 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.
What to do
- Upgrade LiteLLM to
1.35.36or later. - Do not expose the component's API or UI to the internet without authentication in front of it.