VULNERABILITY INTELLIGENCE
CVE-2024-5182
CVSS score9.1 CRITICAL
EPSS probability25.54%
CISA KEVNot currently listed
Published2024-06-20
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
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.
Weakness classification
- security@huntr.dev: CWE-22
Primary references
- security@huntr.dev — Patch
- security@huntr.dev — Exploit, Issue Tracking, Patch
- af854a3a-2127-422b-91ae-364da2661108 — Patch
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Issue Tracking, Patch