CVE-2024-48057Mudler Localai
Medium 6.1 No auth needed
Follow: this CVE · Mudler · Mudler Localai We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Localai.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| mudler | localai | ≤ 2.20.1 |
Official sources
References
Links published by the sources. Open them with care.
- gist.github.com Third Party Advisory
- rumbling-slice-eb0.notion.site Exploit Third Party Advisory