{"id":"CVE-2024-4888","aliases":["GHSA-3xr8-qfvj-9p9j","PYSEC-2026-1540"],"url":"https://o3.security/vulnerability/CVE-2024-4888","summary":"Arbitrary File Deletion in BerriAI/litellm","details":"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":"2024-06-06T18:31:09.735Z","modified":"2026-08-12T03:51:35.009616587Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H"},"epss":{"score":0.00619,"percentile":0.48089,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"litellm","fixedVersion":"1.35.36"}],"fix":null,"references":[{"type":"WEB","url":"https://huntr.com/bounties/48461d89-cf13-4ad3-a43e-0d37da08fc6c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4888.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4888"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:35.009616587Z"}}