CVE-2024-5182 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 20, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mudler/localai/commit/1a3dedece06cab1acc3332055d285ac540a47f0e | CVE | Patch |
| https://huntr.com/bounties/f7a87f29-c22a-48e8-9fce-b6d5a273e545 | CVE | ExploitIssue TrackingPatch |
| https://github.com/mudler/localai/commit/1a3dedece06cab1acc3332055d285ac540a47f0e | [email protected] | Patch |
| https://huntr.com/bounties/f7a87f29-c22a-48e8-9fce-b6d5a273e545 | [email protected] | ExploitIssue TrackingPatch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mudler localai | < 2.16.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| Aug 27, 2024 | Initial Analysis | [email protected] |
| Jun 20, 2024 | New CVE Received | [email protected] |