CVE-2024-5182: mudler localai Path Traversal
Vulnerability summary
CVE-2024-5182 is a critical (CVSS 9.1) Path Traversal vulnerability in mudler localai. EPSS estimates a 25.54% chance of exploitation in the next 30 days, higher than 97.9% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 19-06-2024PublishedVulnerability first disclosed.
- 01-08-2024Last modifiedVulnerability information updated.
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 metrics
5 scores · 3 sources · 3 versions- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
25.54%
Chance of exploitation in the next 30 days
Percentile
98%
Versus all other CVEs
30-day change
0.00 pp
From 25.54% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (huntr.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Mudler2 products
- localai< 2.16.0
- mudler/localai≥ unspecified, < 2.16.0
Github.com/go-skynet1 product
- LocalAI< 2.16.0 | All versions (No fix recorded)
2 vendors · 3 products
References
5 links- github.com/mudler/LocalAIPACKAGE