Live threats

All CVEs / Mudler

CVE-2024-5181Mudler Localai

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
4.3%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Jun 26, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Localai.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
mudlerlocalai2.14.0

Official sources

References

Links published by the sources. Open them with care.