{"id":"CVE-2024-5182","url":"https://www.cyber-defence.io/tools/cve/CVE-2024-5182","generatedAt":"2026-11-04T21:48:25.064Z","title":"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.","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.","published":"2024-06-20T00:15:09.000Z","lastModified":"2026-06-17T08:15:22.000Z","status":"Modified","sourceIdentifier":"security@huntr.dev","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"},"cwe":["CWE-22"],"affected":["mudler/localai"],"epss":{"score":0.25538,"percentile":0.97959,"date":"2026-11-03","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 25.5%, higher than 98% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"https://github.com/mudler/localai/commit/1a3dedece06cab1acc3332055d285ac540a47f0e","tags":["Patch"],"source":"security@huntr.dev"},{"url":"https://huntr.com/bounties/f7a87f29-c22a-48e8-9fce-b6d5a273e545","tags":["Exploit","Issue Tracking","Patch"],"source":"security@huntr.dev"},{"url":"https://github.com/mudler/localai/commit/1a3dedece06cab1acc3332055d285ac540a47f0e","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://huntr.com/bounties/f7a87f29-c22a-48e8-9fce-b6d5a273e545","tags":["Exploit","Issue Tracking","Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-5182","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}