AVID-2026-R1557
Description
Path Traversal in mudler/localai (CVE-2024-5182)
Details
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.
Reason for inclusion in AVID: The CVE describes a path traversal vulnerability in mudler/localai, a component used to run AI models. It affects a software package that can be part of GPAI stacks (deployment/runtimes/model-serving), representing a software supply chain issue. It is a security vulnerability with potential impact (arbitrary file deletion) and the report provides explicit details (CVE reference, CWE-22, CVSS metrics, references) sufficient for AVID evaluation.
References
- NVD entry
- https://huntr.com/bounties/f7a87f29-c22a-48e8-9fce-b6d5a273e545
- https://github.com/mudler/localai/commit/1a3dedece06cab1acc3332055d285ac540a47f0e
Affected or Relevant Artifacts
- Developer: mudler
- Deployer: mudler
- Artifact Details:
| Type | Name |
|---|---|
| System | mudler/localai |
Impact
AVID Taxonomy Categorization
- Risk domains: Security
- SEP subcategories: S0100: Software Vulnerability
- Lifecycle stages: L06: Deployment
CVSS
| Version | 3.0 |
| Vector String | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Base Score | 7.5 |
| Base Severity | 🔴 High |
| Attack Vector | NETWORK |
| Attack Complexity | 🟢 Low |
| Privileges Required | NONE |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | NONE |
| Integrity Impact | NONE |
| Availability Impact | 🔴 High |
CWE
| ID | Description |
|---|---|
| CWE-22 | CWE-22 Improper Limitation of a Pathname to a Restricted Directory (‘Path Traversal’) |
Other information
- Report Type: Advisory
- Credits:
- Date Reported: 2024-06-19
- Version: 0.3.3
- AVID Entry