{"schemaVersion":3,"id":"CVE-2024-4888","aliases":["GHSA-3xr8-qfvj-9p9j","PYSEC-2026-1540"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-06-06T18:31:09.735Z","modified":"2024-11-03T18:27:22.574Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":7,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","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","exploitability":3.1,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00619,"percentile":0.48706,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00619},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00619,"percentile":0.48706}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00619,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00619,"percentile":0.48706}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_0A3BF67544414FC9","name":"Exploit Reference (huntr.com)","source":"reference","url":"https://huntr.com/bounties/48461d89-cf13-4ad3-a43e-0d37da08fc6c","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-862","name":"Missing Authorization","description":"The product does not perform an authorization check when an actor attempts to access a resource or perform an action.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/862.html"}],"affected":[{"vendor":"berriai","product":"berriai/litellm","name":"berriai/litellm","label":"berriai/litellm","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, ≤ latest","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, ≤ latest","eol":null,"hubHref":"/vendor/berriai/berriailitellm"},{"vendor":"litellm","product":"litellm","name":"litellm","label":"litellm","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.35.19","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.35.19","eol":null,"hubHref":"/vendor/litellm/litellm"},{"vendor":"PyPI","product":"litellm","name":"litellm","label":"litellm","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/litellm","purlType":"pypi","versions":[{"text":"< 1.35.36","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.35.36","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.com/bounties/48461d89-cf13-4ad3-a43e-0d37da08fc6c","label":"huntr.com/bounties/48461d89-cf13-4ad3-a43e-0d37da08fc6c","hostname":"huntr.com","tags":["WEB","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4888","label":"nvd.nist.gov/vuln/detail/CVE-2024-4888","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/BerriAI/litellm/pull/3193","label":"github.com/BerriAI/litellm/pull/3193","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/BerriAI/litellm","label":"github.com/BerriAI/litellm","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/litellm","label":"pypi.org/project/litellm","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-3xr8-qfvj-9p9j","label":"github.com/advisories/GHSA-3xr8-qfvj-9p9j","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-06-06T18:31:09.735Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-11-03T18:27:22.574Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T17:02:16.083Z","stale":false,"partial":false}}