9.8

CVE-2024-2029: mudler localai OS Command Injection

CVSS: 9.8v3.0CriticalAnalyzed
AliasesGHSA-wx43-g55g-2jf4GO-2024-2717
Published 10-04-2024Last modified 01-08-2024

Vulnerability summary

CVE-2024-2029 is a critical (CVSS 9.8) OS Command Injection vulnerability in mudler localai. EPSS estimates a 2.88% chance of exploitation in the next 30 days, higher than 86.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.88%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Timeline

  1. 10-04-2024
    PublishedVulnerability first disclosed.
  2. 01-08-2024
    Last modifiedVulnerability information updated.

Description

A command injection vulnerability exists in the `TranscriptEndpoint` of mudler/localai, specifically within the `audioToWav` function used for converting audio files to WAV format for transcription. The vulnerability arises due to the lack of sanitization of user-supplied filenames before passing them to ffmpeg via a shell command, allowing an attacker to execute arbitrary commands on the host system. Successful exploitation could lead to unauthorized access, data breaches, or other detrimental impacts, depending on the privileges of the process executing the code.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

2.88%

Chance of exploitation in the next 30 days

Percentile

87%

Versus all other CVEs

30-day change

0.00 pp

From 2.88% on 21-09-2026

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

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
Github.com/go-skynet1 product
  • LocalAI< 2.10.0 | All versions (No fix recorded)

2 vendors · 3 products

References

5 links