Path Traversal in Mudler Localai
CVE-2024-5182
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.255 (97.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H.
Affected products
- Mudler Localai
- Mudler Mudler/localai — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security@huntr.dev (Exploit, Patch, Issue Tracking)
- security@huntr.dev (Patch)
Frequently asked questions
- What is CVE-2024-5182?
- CVE-2024-5182 is a critical-severity vulnerability in Mudler Localai, classified under Path Traversal. CVSS score: 9.1/10. Published 2024-06-20.
- How severe is CVE-2024-5182?
- Critical severity. CVSS v3 base score is 9.1 out of 10.
- Is CVE-2024-5182 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.