Security mailing lists by PureSourceCode

CVE-2024-2029

CRITICAL 9.8CVSS 3.0

LocalAI Command Injection in audioToWav

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.

Published
10 Apr 2024
Last modified
17 Jun 2026
Assigned by
security@huntr.dev
NVD status
Analyzed
Weakness
CWE-78
Also known as
GHSA-wx43-g55g-2jf4GO-2024-2717
Sources
NVDJSONOSV GHSA-wx43-g55g-2jf4JSONOSV GO-2024-2717JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD security@huntr.dev (Secondary) CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mudler localai
cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:*
< 2.10.0 2.10.0
OSV Go github.com/go-skynet/LocalAI < 2.10.0 2.10.0
OSV Go github.com/go-skynet/LocalAI all versions

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 10 Apr 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Jun 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Apr 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.