Arbitrary File Deletion Vulnerability in mudler/localai 2.14.0
CVE-2024-5182
9.1CRITICAL
What is CVE-2024-5182?
A significant path traversal vulnerability exists in Mudler's LocalAI version 2.14.0, allowing attackers to exploit the model
parameter during the model deletion process. By crafting a specific request with a manipulated model
parameter, an attacker can navigate the directory structure to target and delete files stored outside of the intended directory. This issue arises from a lack of proper input validation and sanitization on the model
parameter, potentially leading to the loss of sensitive data and posing a considerable security risk.