Skip to content
HighVulnerability

CVE-2024-4888: BerriAI litellm arbitrary file deletion through /audio/transcriptions endpoint

Identifier
CVE-2024-4888
Published
Record updated
View JSON
Affected
  • litellm < 1.35.36
Fixed in
1.35.36
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.6%

Summary

BerriAI's litellm, in its latest version, contains an arbitrary file deletion flaw tracked as CVE-2024-4888. Improper input validation on the /audio/transcriptions endpoint lets an attacker send a crafted request containing a file path, and the server then removes that file through os.remove(file.filename) without authorization checks. Any user can therefore delete critical server files, such as SSH keys, SQLite databases, or configuration files.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.