← Back to browse · API

CVE-2024-2029

Severity
CRITICAL
CVSS
9.8
EPSS
0.02879
Risk score
40.21
CISA KEV
No
PoC
No
Published
2024-04-10
Modified
2024-08-01
First seen
2026-08-08
Aliases
EUVD-2024-1328, GHSA-WX43-G55G-2JF4
Products
mudler:mudler/localai, mudler:mudler/localai unspecified <v2.10.0
Sources
euvd EUVD-2024-1328

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.

References