CVE-2024-5182

published 19 Jun 2024 · updated 1 Aug 2024

Path Traversal in mudler/localai

8.0HighCVSS 7.5EPSS 26%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 26%. Fixed in 2.16.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
mudler<2.16.02.16.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-5182 severity on Zeptric[![CVE-2024-5182](https://zeptric.io/badge/cve/CVE-2024-5182.svg)](https://zeptric.io/cve/CVE-2024-5182)