Live threats

All CVEs / Mudler

CVE-2024-48057Mudler Localai

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.3%
probability of exploitation in 30 days · percentile 16
Auth required
No
Published
Nov 4, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79, CWE-352
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

localai <=2.20.1 is vulnerable to Cross Site Scripting (XSS). When calling the delete model API and passing inappropriate parameters, it can cause a one-time storage XSS, which will trigger the payload when a user accesses the homepage.

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/mudler/LocalAI ≤ 2.20.1 no fixed version —
Go github.com/mudler/LocalAI all no fixed version —

Per OSV / GitHub Advisories (GHSA-ghx4-cgxw-7h9p, GO-2024-3253). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mudlerlocalai≤ 2.20.1

Official sources

References

Links published by the sources. Open them with care.