Skip to content
Heist/ feed
Back to feed
High

Remote Code Execution in mudler/localai

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-6983
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 21:54 UTC · Revision 1

Source evidence

Remote Code Execution in mudler/localai

core-osv · Original source

Published 27 Sept 2024, 15:43 UTC

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.

osv:CVE-2024-6983
Complete source record
{
  "id": "aeb21036fe0a18fc3eaf46b2b0d3cf0edd2de67b564a5946e767532b18cdf864",
  "url": "https://osv.dev/vulnerability/CVE-2024-6983",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Remote Code Execution in mudler/localai",
    "summary": "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.",
    "evidence": "osv:CVE-2024-6983",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-6983",
      "aliases": [
        "CVE-2024-6983"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mudler/localai",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8142bdc48f3619eddc6344fa4ed83b331f7b37c2"
                },
                {
                  "fixed": "d02a0f6f01d5c4a926a2d67190cb55d7aca23b66"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mudler:localai:2.17.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.17.1"
                      },
                      {
                        "last_affected": "2.17.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d02a0f6f01d5c4a926a2d67190cb55d7aca23b66"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.17.1",
            "v2.19.4",
            "v2.19.3",
            "v2.19.2",
            "v2.19.1",
            "v2.19.0",
            "v2.18.1",
            "v2.18.0",
            "v2.17.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6983.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.122331211Z",
      "provider": "osv",
      "references": [
        "https://huntr.com/bounties/f91fb287-412e-4c89-87df-9e4b6e609647",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6983.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-6983",
        "https://github.com/mudler/localai/commit/d02a0f6f01d5c4a926a2d67190cb55d7aca23b66"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-94"
        ],
        "cna_assigner": "@huntr_ai",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6983.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-6983",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507449,
  "published_at": "2024-09-27T15:43:51.011+00:00"
}