9.8

CVE-2024-5181: mudler localai OS Command Injection

CVSS: 9.8v3.0CriticalAnalyzed
Published 26-06-2024Last modified 01-08-2024

Vulnerability summary

CVE-2024-5181 is a critical (CVSS 9.8) OS Command Injection vulnerability in mudler localai. EPSS estimates a 2.69% chance of exploitation in the next 30 days, higher than 85.7% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.0 (CVE.org)
EPSS score
2.69%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Timeline

  1. 26-06-2024
    PublishedVulnerability first disclosed.
  2. 01-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

2.69%

Chance of exploitation in the next 30 days

Percentile

86%

Versus all other CVEs

30-day change

0.00 pp

From 2.69% on 21-09-2026

21-09-202621-10-2026
EPSS score
2.69%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (huntr.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Mudler2 products

1 vendor · 2 products

References

2 links