# CVE-2024-6983: Remote Code Execution in mudler/localai

- Severity: High 8.8 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.29%, higher than 71% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-09-27T15:43:51.011Z
- Modified: 2026-06-17T08:19:07.543Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntr_ai

## Description

mudler/localai version 2.17.1 is vulnerable to remote code execution. The vulnerability arises because the localai backend receives inputs not only from the configuration file but also from other inputs, allowing an attacker to upload a binary file and execute malicious code. This can lead to the attacker gaining full control over the system.

(As written by CVE List.)

## Affected

- mudler mudler/localai: from unspecified before 2.19.4
- mudler localai: before 2.19.4; 2.17.1

## References

- <https://huntr.com/bounties/f91fb287-412e-4c89-87df-9e4b6e609647> (exploit, third-party-advisory)
- <https://github.com/mudler/localai/commit/d02a0f6f01d5c4a926a2d67190cb55d7aca23b66> (patch)

## Sources

- CVE List: [CVE-2024-6983](https://www.cve.org/CVERecord?id=CVE-2024-6983), CVE Terms of Use, modified 2024-09-27
- NVD: [CVE-2024-6983](https://nvd.nist.gov/vuln/detail/CVE-2024-6983), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-6983 · Whole record: https://cve.day/CVE-2024-6983.json · Rebuilt by cve.day 2026-11-25T22:58:45.861Z
