CVE-2024-5181
published critical CVSS 3.0 · 9.8Command Injection in mudler/localai
Package status and fixes
Description
A command injection vulnerability exists in the mudler/localai version 2.14.0. The vulnerability arises from the application's handling of the backend parameter in the configuration file, which is used in the name of the initialized process. An attacker can exploit this vulnerability by manipulating the path of the vulnerable binary file specified in the backend parameter, allowing the execution of arbitrary code on the system. This issue is due to improper neutralization of special elements used in an OS command, leading to potential full control over the affected system.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mudler | mudler/localai | unspecified to < 2.16.0 (affected · custom) | @huntr_ai · cna |
| mudler | localai | 2.14.0 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
2Provider assertions
3@huntr_ai · cna
Command Injection in mudler/localai
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 25d15752bf5653e2b44e5cb39c8365aa588a21e2e77769447a34e5f7452fde27
- Ingested
- 23 Sep 2026, 08:32:30 UTC
- Source record
- Official CVE record