← Vulnerability feed

Vulnerability record · CVE-2024-2029 · published 10 April 2024

CVE-2024-2029: Mudler localai os command injection vulnerability

Mudler · Localai

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.

9.8 CVSS 3.0 Critical EPSS 2.9% · top 13.7% CWE-78 · OS command injection
9.8CVSS 3.0 base score
2.9%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-2029 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-6868Mudler localai link following vulnerabilitymudler/LocalAI version 2.17.1 allows for arbitrary file write due to improper handling of automatic archive extraction. When model configurations spe…EPSS 1.5%9.8CVE-2024-5181Mudler localai os command injection vulnerabilityA command injection vulnerability exists in the mudler/localai version 2.14.0. The vulnerability arises from the application's handling of the backen…EPSS 2.7%9.1CVE-2024-5182Mudler localai path traversal vulnerabilityA path traversal vulnerability exists in mudler/localai version 2.14.0, where an attacker can exploit the `model` parameter during the model deletion…EPSS 26%8.8CVE-2024-6983Mudler localai code injection vulnerabilitymudler/localai version 2.17.1 is vulnerable to remote code execution. The vulnerability arises because the localai backend receives inputs not only f…EPSS 1.3%6.5CVE-2024-3135Mudler localai cross-site request forgery vulnerabilityA Cross-Site Request Forgery (CSRF) vulnerability exists in the mudler/localai application, allowing attackers to craft malicious webpages that, when…EPSS 0.31%6.1CVE-2024-9900Mudler localai cross-site scripting vulnerabilitymudler/localai version v2.21.1 contains a Cross-Site Scripting (XSS) vulnerability in its search functionality. The vulnerability arises due to impro…EPSS 0.54%6.1CVE-2024-48057Mudler localai cross-site scripting vulnerabilitylocalai <=2.20.1 is vulnerable to Cross Site Scripting (XSS). When calling the delete model API and passing inappropriate parameters, it can cause a …EPSS 0.25%5.9CVE-2024-7010Mudler localai observable discrepancy vulnerabilitymudler/localai version 2.17.1 is vulnerable to a Timing Attack. This type of side-channel attack allows an attacker to compromise the cryptosystem by…EPSS 0.52%

Source: NIST National Vulnerability Database (record CVE-2024-2029), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.