CVE-2024-5182

Severity CVSS v4.0:
Pending analysis
Type:
CWE-22 Path Traversal
Publication date:
20/06/2024
Last modified:
27/08/2024

Description

A path traversal vulnerability exists in mudler/localai version 2.14.0, where an attacker can exploit the `model` parameter during the model deletion process to delete arbitrary files. Specifically, by crafting a request with a manipulated `model` parameter, an attacker can traverse the directory structure and target files outside of the intended directory, leading to the deletion of sensitive data. This vulnerability is due to insufficient input validation and sanitization of the `model` parameter.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:* 2.16.0 (excluding)