CVE-2024-2029

Command Injection in mudler/localai

Published Apr 10, 2024 CVSS 3.0 · 9.8 Critical EPSS 2.9% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-1328 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.
Github GHSA Github GHSA GHSA-wx43-g55g-2jf4 LocalAI Command Injection in audioToWav
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00511}

epss

{'score': 0.01354}

Type Values Removed Values Added
First Time appeared Mudler
Mudler localai
CPEs cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:*
Vendors & Products Mudler
Mudler localai
Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Aug 1, 2024, 6:56 PM
Reserved
Feb 29, 2024, 6:34 PM
Status
Analyzed
Published
Apr 10, 2024, 5:15 PM
Modified
Jun 17, 2026, 7:23 AM