Vulnerability record · CVE-2024-5182 · published 20 June 2024
CVE-2024-5182: Mudler localai path traversal vulnerability
Mudler · Localai
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.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/mudler/localai/commit/1a3dedece06cab1acc3332055d285ac540a47f0e | Patch |
| https://huntr.com/bounties/f7a87f29-c22a-48e8-9fce-b6d5a273e545 | ExploitIssue TrackingPatch |
| https://github.com/mudler/localai/commit/1a3dedece06cab1acc3332055d285ac540a47f0e | Patch |
| https://huntr.com/bounties/f7a87f29-c22a-48e8-9fce-b6d5a273e545 | ExploitIssue TrackingPatch |
Track CVE-2024-5182 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2024-5182), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.