Command Injection in mudler/localai
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| mudler | mudler/localai | before v2.10.0 | v2.10.0 | Patch available | CNA |
| — | github.com/go-skynet/LocalAI (Go) | before 2.10.0 | 2.10.0 | Patch available | GHSA-wx43-g55g-2jf4 |
- mudler/localai Vendormudler Affected before v2.10.0 Fixed in v2.10.0 Patch available CNA
- github.com/go-skynet/LocalAI (Go) Vendor— Affected before 2.10.0 Fixed in 2.10.0 Patch available GHSA-wx43-g55g-2jf4
Remediation
- Fix · CNA mudler/localai (mudler) Fixed in v2.10.0
- Fix · GHSA-wx43-g55g-2jf4 github.com/go-skynet/LocalAI (Go) Fixed in 2.10.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-2029
- 2026-10-03 Alias added: GHSA-wx43-g55g-2jf4
References
More mudler Localai vulnerabilities
- TI-2024-04809 Command Injection in mudler/localai CVSS 3.0CRITICAL 9.8
- TI-2024-04810 Path Traversal in mudler/localai CVSS 3.1CRITICAL 9.1
- TI-2024-06369 Arbitrary File Write in mudler/LocalAI CVSS 3.1CRITICAL 9.8
- TI-2024-06481 Remote Code Execution in mudler/localai CVSS 3.0HIGH 8.8
- TI-2024-06505 Timing Attack in mudler/localai CVSS 3.1MEDIUM 5.9
- TI-2024-05648 SSRF and Partial LFI in /models/apply Endpoint in mudler/localai CVSS 3.1MEDIUM 5.8
Sources
- CVE-2024-2029 · CVE Program
- CVE-2024-2029 · NVD
- FIRST EPSS
- GHSA-wx43-g55g-2jf4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences