Live threats

All CVEs / Mudler

CVE-2024-2029Mudler Localai

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
4.3%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Apr 10, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Localai.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/go-skynet/LocalAI < 2.10.0 2.10.0 go get github.com/go-skynet/LocalAI@v2.10.0
Go github.com/go-skynet/LocalAI all no fixed version —

Per OSV / GitHub Advisories (GHSA-wx43-g55g-2jf4, GO-2024-2717). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mudlerlocalai< 2.10.0

Official sources

References

Links published by the sources. Open them with care.